- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- DBD install - ld: Mismatched ABI for -lclntsh
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
DBD install - ld: Mismatched ABI for -lclntsh
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-19-2009 12:39 AM
06-19-2009 12:39 AM
Re: DBD install - ld: Mismatched ABI for -lclntsh
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-19-2009 04:12 AM
06-19-2009 04:12 AM
Re: DBD install - ld: Mismatched ABI for -lclntsh
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-19-2009 04:18 AM
06-19-2009 04:18 AM
Re: DBD install - ld: Mismatched ABI for -lclntsh
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-19-2009 07:16 PM
06-19-2009 07:16 PM
Re: DBD install - ld: Mismatched ABI for -lclntsh
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-21-2009 02:44 PM
06-21-2009 02:44 PM
Re: DBD install - ld: Mismatched ABI for -lclntsh
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-08-2009 01:46 PM
07-08-2009 01:46 PM
Re: DBD install - ld: Mismatched ABI for -lclntsh
Re: DBD install - ld: Mismatched ABI for -lclntsh
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP