- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ld: can't find library for -lexpat
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
Forums
Discussions
Discussions
Discussions
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
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
02-27-2004 09:54 AM
02-27-2004 09:54 AM
ld: can't find library for -lexpat
I've been trying to make the XML Parser module and keep getting the following error:
cc -c -Ae -D_HPUX_SOURCE +z +e Wl ,+vnocompatwarnings +DD64 -I/usr/lo
cal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSIO
N=\"2.34\" -DXS_VERSION=\"2.34\" +Z "-I/opt/perl5/lib/5.8.3/PA-RISC2.0-LP64/COR
E" Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl
LD_RUN_PATH="/usr/local/lib" /usr/bin/ld -b +vnocompatwarnings -L/usr/l
ocal/lib -L/lib/pa20_64 Expat.o -o ../blib/arch/auto/XML/Parser/Expat/Expat.sl
-lexpat
ld: Can't find library for -lexpat
Fatal error.
*** Error exit code 1
I've set the LDPATH, LD_RUN_PATH, etc. I still get the error. Does anyone have any ideas?
Thanks,
Brett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 10:23 AM
02-27-2004 10:23 AM
Re: ld: can't find library for -lexpat
http://hpux.connect.org.uk/hppd/hpux/Development/Tools/expat-1.95.7/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 07:22 PM
02-27-2004 07:22 PM
Re: ld: can't find library for -lexpat
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 12:48 AM
02-28-2004 12:48 AM
Re: ld: can't find library for -lexpat
2. I tried setting LPATH earlier, but it still didn't work. The -L/usr/local/lib is also set in the linker section of the makefile.
That's what makes this so weird!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 04:46 PM
02-28-2004 04:46 PM
Re: ld: can't find library for -lexpat
if 'file /usr/local/lib/libexpat.*' does not say 'ELF shared library' (and says 'PA 2.0' or some such thing) then its not a 64-bit library. i think the 64-bit linker ignores 32-bit libraries in the search path, but i am not sure of that.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 12:48 AM
03-01-2004 12:48 AM