[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Linker error building apache with oracle dbd
From:       Jeff Trawick <trawick () gmail ! com>
Date:       2014-07-23 21:46:14
Message-ID: CAKUrXK4PMRotWh+nAkE964YjbM6bYNuu1L4fSS_3KbgHwv_JVg () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jul 23, 2014 at 4:19 PM, Hrasch, Janet <janet.a.hrasch@siemens.com>
wrote:

> Hi All,
> I am trying to compile apache on Win7 via the Microsoft Windows SDK v7.1
> command window.  I have compile apache without any database utilities.  I
> now want to compile with oracle.  I have set the LIB, INCLUDE and PATH to
> include my oracle client library, include and dll.  The link.exe is having
> problem linking.  I am trying to determine which library is missing.  Here
> is the output error.  Can anyone help?
>
> D:\httpd-2.2.27\srclib\apr-util\dbd>"C:\Program Files (x86)\Microsoft
> Visual Studio 10.0\VC\Bin\nmake.exe" -nologo -f apr_dbd_oracle.mak
> CFG="apr_dbd_oracle - Win32 Relea
> E=0
>         rc.exe /l 0x409 /fo".\Release\apr_dbd_oracle-1.res" /i
> "../include" /i "../../apr/include" /i "\httpd-2.4.4\srclib\apr-util" /d
> DLL_NAME="apr_dbd_oracle" /d "NDEB
> U_VERSION_ONLY" ..\libaprutil.rc
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>         cl.exe @C:\Users\hrasja20\AppData\Local\Temp\nm2F01.tmp
> apr_dbd_oracle.c
>         link.exe @C:\Users\hrasja20\AppData\Local\Temp\nm30A7.tmp
>    Creating library .\Release\apr_dbd_oracle-1.lib and object
> .\Release\apr_dbd_oracle-1.exp
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCILobRead
> referenced in function _lob_bucket_read
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIDescriptorFree referenced in function _dbd_free_lobdesc
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIEnvCreate referenced in function _dbd_oracle_init
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIStmtFetch2 referenced in function _dbd_oracle_get_row
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIErrorGet referenced in function _dbd_oracle_error
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIHandleFree referenced in function _freeStatement
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIBindByPos referenced in function _dbd_oracle_bind
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIDefineByPos referenced in function _outputParams
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIDescriptorAlloc referenced in function _outputParams
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIAttrGet
> referenced in function _outputParams
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIParamGet referenced in function _outputParams
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIStmtExecute referenced in function _outputParams
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCITransCommit referenced in function _dbd_oracle_end_transaction
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCITransRollback referenced in function _dbd_oracle_end_transaction
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCILobCharSetId referenced in function _dbd_oracle_get_entry
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCILobCharSetForm referenced in function _dbd_oracle_get_entry
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCILobGetLength referenced in function _dbd_oracle_get_entry
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIServerDetach referenced in function _dbd_oracle_close
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCISessionEnd referenced in function _dbd_oracle_close
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIStmtPrepare referenced in function _dbd_oracle_prepare
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIHandleAlloc referenced in function _dbd_oracle_prepare
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCITransStart referenced in function _dbd_oracle_start_transaction
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIAttrSet
> referenced in function _dbd_oracle_start_transaction
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCISessionBegin referenced in function _dbd_oracle_open
> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol
> _OCIServerAttach referenced in function _dbd_oracle_open
> .\Release\apr_dbd_oracle-1.dll : fatal error LNK1120: 25 unresolved
> externals
>

Just an idea:

Make sure that the Oracle library you're linking with matches the
architecture (32-bit or 64-bit) of your httpd/APR build.  IIRC, if you have
that type of mismatch on Windows it will show up as unresolved symbol
errors.


> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\Bin\link.exe"' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: 'for' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\Bin\nmake.exe"' : return code '0x2'
> Stop.
>
> Mit freundlichen Grüßen
> Janet Hrasch
>
> Siemens Medical Solutions USA, Inc.
> H IT SAP TS BU
> 1717 Deerfield Rd
> 60015-0778 Deerfield, IL, USA
> Tel: +1 847 267-6075
> Mobile: +1 847 323-8463
> mailto:janet.a.hrasch@siemens.com
>
>
> -----Original Message-----
> From: Wim Lewis [mailto:wiml@omnigroup.com]
> Sent: Wednesday, July 23, 2014 2:18 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Forcing 256-bit AES encryption on server
>
>
> On 23 Jul 2014, at 7:25 AM, Slusar,Michael wrote:
> > Does anyone know how to set up SSL options in httpd.conf or ssl.conf? I
> am trying to force the server to use 256-bit AES Encryption when the
> client\server hello handshake is performed.
>
> You can control the set of ciphers that the server is willing to use using
> the SSLCipherSuite directive:
>
>     http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslciphersuite
>
> Note that the documentation for that directive is a little out of date
> when it comes to describing the cipher suites that are available--- the
> specification is simply passed to OpenSSL, so for more accurate
> documentation, check which version of OpenSSL your server is compiled with.
> The "openssl ciphers" command is useful for checking exactly what cipher
> suites a given string will enable when using a given version of OpenSSL.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> This message and any attachments are solely for the use of intended
> recipients. The information contained herein may include trade secrets,
> protected health or personal information, privileged or otherwise
> confidential information. Unauthorized review, forwarding, printing,
> copying, distributing, or using such information is strictly prohibited and
> may be unlawful. If you are not an intended recipient, you are hereby
> notified that you received this email in error, and that any review,
> dissemination, distribution or copying of this email and any attachment is
> strictly prohibited. If you have received this email in error, please
> contact the sender and delete the message and any attachment from your
> system. Thank you for your cooperation
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 23, 2014 \
at 4:19 PM, Hrasch, Janet <span dir="ltr">&lt;<a \
href="mailto:janet.a.hrasch@siemens.com" \
target="_blank">janet.a.hrasch@siemens.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi All,<br> I am trying to compile apache on Win7 via the \
Microsoft Windows SDK v7.1 command window.   I have compile apache without any \
database utilities.   I now want to compile with oracle.   I have set the LIB, \
INCLUDE and PATH to include my oracle client library, include and dll.   The link.exe \
is having problem linking.   I am trying to determine which library is missing.   \
Here is the output error.   Can anyone help?<br>

<br>
D:\httpd-2.2.27\srclib\apr-util\dbd&gt;&quot;C:\Program Files (x86)\Microsoft Visual \
Studio 10.0\VC\Bin\nmake.exe&quot; -nologo -f apr_dbd_oracle.mak \
CFG=&quot;apr_dbd_oracle - Win32 Relea<br> E=0<br>
            rc.exe /l 0x409 /fo&quot;.\Release\apr_dbd_oracle-1.res&quot; /i \
&quot;../include&quot; /i &quot;../../apr/include&quot; /i \
&quot;\httpd-2.4.4\srclib\apr-util&quot; /d DLL_NAME=&quot;apr_dbd_oracle&quot; /d \
&quot;NDEB<br>

U_VERSION_ONLY&quot; ..\libaprutil.rc<br>
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385<br>
Copyright (C) Microsoft Corporation.   All rights reserved.<br>
<br>
            cl.exe @C:\Users\hrasja20\AppData\Local\Temp\nm2F01.tmp<br>
apr_dbd_oracle.c<br>
            link.exe @C:\Users\hrasja20\AppData\Local\Temp\nm30A7.tmp<br>
     Creating library .\Release\apr_dbd_oracle-1.lib and object \
.\Release\apr_dbd_oracle-1.exp<br> apr_dbd_oracle.obj : error LNK2019: unresolved \
external symbol _OCILobRead referenced in function _lob_bucket_read<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIDescriptorFree \
referenced in function _dbd_free_lobdesc<br> apr_dbd_oracle.obj : error LNK2019: \
unresolved external symbol _OCIEnvCreate referenced in function _dbd_oracle_init<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIStmtFetch2 \
referenced in function _dbd_oracle_get_row<br> apr_dbd_oracle.obj : error LNK2019: \
unresolved external symbol _OCIErrorGet referenced in function _dbd_oracle_error<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIHandleFree \
referenced in function _freeStatement<br> apr_dbd_oracle.obj : error LNK2019: \
unresolved external symbol _OCIBindByPos referenced in function _dbd_oracle_bind<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIDefineByPos \
referenced in function _outputParams<br> apr_dbd_oracle.obj : error LNK2019: \
unresolved external symbol _OCIDescriptorAlloc referenced in function \
_outputParams<br> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol \
_OCIAttrGet referenced in function _outputParams<br> apr_dbd_oracle.obj : error \
LNK2019: unresolved external symbol _OCIParamGet referenced in function \
_outputParams<br> apr_dbd_oracle.obj : error LNK2019: unresolved external symbol \
_OCIStmtExecute referenced in function _outputParams<br> apr_dbd_oracle.obj : error \
LNK2019: unresolved external symbol _OCITransCommit referenced in function \
_dbd_oracle_end_transaction<br> apr_dbd_oracle.obj : error LNK2019: unresolved \
external symbol _OCITransRollback referenced in function \
_dbd_oracle_end_transaction<br> apr_dbd_oracle.obj : error LNK2019: unresolved \
external symbol _OCILobCharSetId referenced in function _dbd_oracle_get_entry<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCILobCharSetForm \
referenced in function _dbd_oracle_get_entry<br> apr_dbd_oracle.obj : error LNK2019: \
unresolved external symbol _OCILobGetLength referenced in function \
_dbd_oracle_get_entry<br> apr_dbd_oracle.obj : error LNK2019: unresolved external \
symbol _OCIServerDetach referenced in function _dbd_oracle_close<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCISessionEnd \
referenced in function _dbd_oracle_close<br> apr_dbd_oracle.obj : error LNK2019: \
unresolved external symbol _OCIStmtPrepare referenced in function \
_dbd_oracle_prepare<br> apr_dbd_oracle.obj : error LNK2019: unresolved external \
symbol _OCIHandleAlloc referenced in function _dbd_oracle_prepare<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCITransStart \
referenced in function _dbd_oracle_start_transaction<br> apr_dbd_oracle.obj : error \
LNK2019: unresolved external symbol _OCIAttrSet referenced in function \
_dbd_oracle_start_transaction<br> apr_dbd_oracle.obj : error LNK2019: unresolved \
external symbol _OCISessionBegin referenced in function _dbd_oracle_open<br> \
apr_dbd_oracle.obj : error LNK2019: unresolved external symbol _OCIServerAttach \
                referenced in function _dbd_oracle_open<br>
.\Release\apr_dbd_oracle-1.dll : fatal error LNK1120: 25 unresolved \
externals<br></blockquote><div><br></div><div>Just an \
idea:</div><div><br></div><div>Make sure that the Oracle library you&#39;re linking \
with matches the architecture (32-bit or 64-bit) of your httpd/APR build.   IIRC, if \
you have that type of mismatch on Windows it will show up as unresolved symbol \
errors.</div> <div>  </div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> NMAKE : fatal error U1077: \
&#39;&quot;C:\Program Files (x86)\Microsoft Visual Studio \
10.0\VC\Bin\link.exe&quot;&#39; : return code &#39;0x460&#39;<br> Stop.<br>
NMAKE : fatal error U1077: &#39;for&#39; : return code &#39;0x2&#39;<br>
Stop.<br>
NMAKE : fatal error U1077: &#39;&quot;C:\Program Files (x86)\Microsoft Visual Studio \
10.0\VC\Bin\nmake.exe&quot;&#39; : return code &#39;0x2&#39;<br> Stop.<br>
<br>
Mit freundlichen Grüßen<br>
Janet Hrasch<br>
<br>
Siemens Medical Solutions USA, Inc.<br>
H IT SAP TS BU<br>
1717 Deerfield Rd<br>
60015-0778 Deerfield, IL, USA<br>
Tel: +1 847 267-6075<br>
Mobile: +1 847 323-8463<br>
mailto:<a href="mailto:janet.a.hrasch@siemens.com">janet.a.hrasch@siemens.com</a><br>
<br>
<br>
-----Original Message-----<br>
From: Wim Lewis [mailto:<a \
                href="mailto:wiml@omnigroup.com">wiml@omnigroup.com</a>]<br>
Sent: Wednesday, July 23, 2014 2:18 PM<br>
To: <a href="mailto:users@httpd.apache.org">users@httpd.apache.org</a><br>
Subject: Re: [users@httpd] Forcing 256-bit AES encryption on server<br>
<br>
<br>
On 23 Jul 2014, at 7:25 AM, Slusar,Michael wrote:<br>
&gt; Does anyone know how to set up SSL options in httpd.conf or ssl.conf? I am \
trying to force the server to use 256-bit AES Encryption when the client\server hello \
handshake is performed.<br> <br>
You can control the set of ciphers that the server is willing to use using the \
SSLCipherSuite directive:<br> <br>
      <a href="http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslciphersuite" \
target="_blank">http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslciphersuite</a><br>
 <br>
Note that the documentation for that directive is a little out of date when it comes \
to describing the cipher suites that are available--- the specification is simply \
passed to OpenSSL, so for more accurate documentation, check which version of OpenSSL \
your server is compiled with. The &quot;openssl ciphers&quot; command is useful for \
checking exactly what cipher suites a given string will enable when using a given \
version of OpenSSL.<br>

<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@httpd.apache.org</a><br>
 For additional commands, e-mail: <a \
href="mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</a><br> <br>
<br>
This message and any attachments are solely for the use of intended recipients. The \
information contained herein may include trade secrets, protected health or personal \
information, privileged or otherwise confidential information. Unauthorized review, \
forwarding, printing, copying, distributing, or using such information is strictly \
prohibited and may be unlawful. If you are not an intended recipient, you are hereby \
notified that you received this email in error, and that any review, dissemination, \
distribution or copying of this email and any attachment is strictly prohibited. If \
you have received this email in error, please contact the sender and delete the \
message and any attachment from your system. Thank you for your cooperation<br>

<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@httpd.apache.org</a><br>
 For additional commands, e-mail: <a \
href="mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</a><br> <br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Born in \
Roswell... married an alien...<br><a href="http://emptyhammock.com/" \
target="_blank">http://emptyhammock.com/</a><br><div><a href="http://edjective.org/" \
target="_blank">http://edjective.org/</a></div> <div><br></div></div>
</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic