LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2007, 12:36 PM   #1
santana
Member
 
Registered: Sep 2004
Distribution: FC, ubuntu, OpenSuse
Posts: 112

Rep: Reputation: 16
ld problems installing


I attempting to install some software, ld is complaining it can't find -lz. So I made sure it was installed and in the ld path.
Code:
ldconfig -p | grep libz
        libz.so.1 (libc6,x86-64) => /usr/lib/libz.so.1
But still it complains here is some output
Code:
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [arrayTest3d.Linux.g++.g77.DEBUG.ex] Error 1
make: *** [test/BoxTools] Error 2
 
Old 05-02-2007, 07:15 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It wouldn't be the permissions on the file or one of the dirs in the path?

Or trying to compile a 32-bit executable?


Cheers,
Tink

Last edited by Tinkster; 05-02-2007 at 07:16 PM.
 
Old 05-02-2007, 07:45 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Tinkster
Or trying to compile a 32-bit executable?
I think that makes most sense. If you’re compiling a 32-bit executable, you need to have a 32-bit version of the library it links to (usually placed in /usr/lib32 or similar — research the “multilib” setup).
 
Old 05-07-2007, 11:28 AM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Did you find a solution?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing custom 2.6.14 kernel (for SATA problems) Ekkume Ubuntu 0 12-29-2005 02:39 PM
Problems Installing Birds_77 Linux - Newbie 1 10-29-2004 09:55 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 04:17 PM
Having problems installing... FTD Fedora 1 11-18-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration