- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DBD install - ld: Mismatched ABI for -lclntsh
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 09:02 PM
тАО06-18-2009 09:02 PM
Sorry for the trouble. I am having difficulty getting DBD install on server. Server is HP-UX 11.31. running Oracle client 11. Got the following error below. Hope you guys can give me some direction. Very much thanks
cc -c -I/u01/dbclient/oracle/product/11.1.0/client_1/rdbms/public -I/u01/dbclient/oracle/product/11.1.0/client_1/rdbms/demo -I/u01/dbclient/oracle/product/11.1.0/client_1/rdbms/public -I/u01/dbclient/oracle/product/11.1.0/client_1/plsql/public -I/u01/dbclient/oracle/product/11.1.0/client_1/network/public -I/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/DBI -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Ofltacc=strict -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" +Z "-I/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"11.1.0.6\" oci8.c
"oci8.c", line 396: warning #2236-D: controlling expression is constant
&& OCIErrorGet_log_stat(errhp, recno, (text*)NULL, &eg_errcode, errbuf,
^
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/u01/dbclient/oracle/product/11.1.0/client_1/lib:/usr/lib/hpux32" /usr/bin/ld -b +vnocompatwarnings -L/usr/lib/hpux32 Oracle.o dbdimp.o oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.so \
-L/u01/dbclient/oracle/product/11.1.0/client_1/lib/ -lclntsh -ldl -lm -lpthread -lnsl -lunwind -ldl -lm -lpthread -lrt -lpthread \
ld: Mismatched ABI for -lclntsh, found /u01/dbclient/oracle/product/11.1.0/client_1/lib//libclntsh.so
Fatal error.
*** Error exit code 1
Stop.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 12:39 AM
тАО06-19-2009 12:39 AM
Re: DBD install - ld: Mismatched ABI for -lclntsh
Is /u01/dbclient/oracle/product/11.1.0/client_1/lib//libclntsh.so 32 bit or 64 bit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 04:12 AM
тАО06-19-2009 04:12 AM
Re: DBD install - ld: Mismatched ABI for -lclntsh
Thanks for reply. Oracle client is 64 bit.
oci8.o is in DBD install dir. Should it matter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 04:18 AM
тАО06-19-2009 04:18 AM
Re: DBD install - ld: Mismatched ABI for -lclntsh
If you Oracle client is a 64-bit one, then you need to use a 64-bit Perl too.
As for the linker error, this is telling you that you are trying mix 32-bit and 64-bit objects at link time. This is illegal.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 07:16 PM
тАО06-19-2009 07:16 PM
Re: DBD install - ld: Mismatched ABI for -lclntsh
Then you need to build your application with +DD64. Your oci8.o was not compiled with that option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 02:44 PM
тАО06-21-2009 02:44 PM
Re: DBD install - ld: Mismatched ABI for -lclntsh
How can I change perl to 64bit?
I assume oci8.c in DBD install directory is 32 bit.
Sorry for noob question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 03:40 PM
тАО06-21-2009 03:40 PM
Solution> How can I change perl to 64bit?
# rm /opt/perl
# ln -s /opt/perl_64 /opt/perl
I assume that your '/usr/bin/perl' is a symbolic link to '/opt/perl/bin/perl'. This is the usual setup when installing Perl from HP. In that case, the above commands will establish the 64-bit Perl as the default.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 01:46 PM
тАО07-08-2009 01:46 PM