- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl DBD mysql /usr/bin/ld: Can't find library...
Operating System - HP-UX
1756747
Members
3524
Online
108852
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-09-2009 09:50 AM
тАО04-09-2009 09:50 AM
Perl DBD mysql /usr/bin/ld: Can't find library: "z"
Hello,
pa-risc hpux 11.11
I am trying to install dbd mysql
when I do a make it comes back with:
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.sl
LD_RUN_PATH="/opt/iexpress/mysql/lib/mysql:/usr/local/lib:/opt/openssl/lib" /usr/bin/perl myld /usr/bin/ld -b +vnocompatwarnings dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.sl \
-L/opt/iexpress/mysql/lib/mysql -lmysqlclient -lz -lnsl -lm -L/opt/openssl/lib -lssl -lcrypto \
/usr/bin/ld: Can't find library: "z"
*** Error exit code 1
Stop.
Can anyone help me?
Thank you
Ben
pa-risc hpux 11.11
I am trying to install dbd mysql
when I do a make it comes back with:
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.sl
LD_RUN_PATH="/opt/iexpress/mysql/lib/mysql:/usr/local/lib:/opt/openssl/lib" /usr/bin/perl myld /usr/bin/ld -b +vnocompatwarnings dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.sl \
-L/opt/iexpress/mysql/lib/mysql -lmysqlclient -lz -lnsl -lm -L/opt/openssl/lib -lssl -lcrypto \
/usr/bin/ld: Can't find library: "z"
*** Error exit code 1
Stop.
Can anyone help me?
Thank you
Ben
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 10:22 AM
тАО04-09-2009 10:22 AM
Re: Perl DBD mysql /usr/bin/ld: Can't find library: "z"
Hi,
Not sure at all but perhaps an idea about perl, look at this thread. Maybe your problem is about libz.a with perl and mysql ...
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1041031
Hope it could help
Not sure at all but perhaps an idea about perl, look at this thread. Maybe your problem is about libz.a with perl and mysql ...
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1041031
Hope it could help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 10:43 AM
тАО04-09-2009 10:43 AM
Re: Perl DBD mysql /usr/bin/ld: Can't find library: "z"
Hello,
Thank you.
I am not sure if this is the right thing to do but it seemed to work:
I edited the Makefile and added a -L to look in the lib directory. I seems like the variable LD_RUN_PATH was not being recognized by ld.
Makefile
-----
.
.
EXTRALIBS = -L/opt/iexpress/mysql/lib/mysql -L/usr/local/lib -lmysqlclient -lz -L/opt/openssl/lib -l
ssl -lcrypto
LDLOADLIBS = -L/opt/iexpress/mysql/lib/mysql -L/usr/local/lib -lmysqlclient -lz -lnsl -lm -L/opt/ope
nssl/lib -lssl -lcrypto
.
.
------
Thank you.
I am not sure if this is the right thing to do but it seemed to work:
I edited the Makefile and added a -L to look in the lib directory. I seems like the variable LD_RUN_PATH was not being recognized by ld.
Makefile
-----
.
.
EXTRALIBS = -L/opt/iexpress/mysql/lib/mysql -L/usr/local/lib -lmysqlclient -lz -L/opt/openssl/lib -l
ssl -lcrypto
LDLOADLIBS = -L/opt/iexpress/mysql/lib/mysql -L/usr/local/lib -lmysqlclient -lz -lnsl -lm -L/opt/ope
nssl/lib -lssl -lcrypto
.
.
------
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP