You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Hrasch, Janet" <ja...@siemens.com> on 2014/07/23 22:19:48 UTC
[users@httpd] Linker error building apache with oracle dbd
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
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
Re: [users@httpd] Linker error building apache with oracle dbd
Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Jul 23, 2014 at 4:19 PM, Hrasch, Janet <ja...@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/