Sponsored Content
Special Forums UNIX and Linux Applications /usr/bin/ld: cannot find -lz error Post 302820549 by AIX_30 on Thursday 13th of June 2013 02:31:51 AM
Old 06-13-2013
/usr/bin/ld: cannot find -lz error

I am installing lxml module for python on redhat
I have installed libxml2 already.
When I run for libxslt:
Code:
./configure --prefix=libxslt_folder --with-libxml-prefix=libxml2_folder

It is ok
the I run :
Code:
make

I have error:
Code:
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

I found in google that is connected somehow with static library, but I still cannot find how to solve it.

Last edited by Scott; 06-13-2013 at 05:45 AM.. Reason: Code tags, please...
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

command find returned bash: /usr/bin/find: Argument list too long

Hello, I create a file touch 1201093003 fichcomp and inside a repertory (which hava a lot of files) I want to list all files created before this file : find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long but i make a filter all... (1 Reply)
Discussion started by: yacsil
1 Replies

2. Shell Programming and Scripting

!/usr/bin/ksh error

Usually we use !/usr/bin/ksh at the start of the script.But if I am having this stuff in the scripts and calling one script from other its not working.What may be the reason behind it ? xyz.ksh #!/usr/bin/ksh echo "Hi" abc.ksh #!/usr/bin/ksh echo "I am fine" ksh xyz.ksh Its... (4 Replies)
Discussion started by: dr46014
4 Replies

3. Red Hat

/usr/bin/find && -exec /bin/rm never work as expected

hi there, Would you able to advise that why the syntax or statement below couldn't work as expected ? /usr/bin/find /backup -name "*tar*" -mtime +2 -exec /bin/rm -f {} \; 1> /dev/null 2>&1 In fact, I was initially located it as in crontab job, but it doesn't work at all. So, I was... (9 Replies)
Discussion started by: rauphelhunter
9 Replies

4. Programming

can't compile under cygwin anymore, /usr/bin/ld: cannot find crt2.o etc

I have been compiling software under gcc3.4.4-999 cygwin for some time now. I was having an issue, so I decided to re-install gcc. After the re-install, I am getting the following errors from the linker, /usr/bin/ld: cannot find crt2.o: No such file or directory /usr/bin/ld: cannot find... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

5. Shell Programming and Scripting

how to use use /usr/bin/find for 4 digit year dirs only

I have lots of directories in ~/. My diaries are stored in directories in ~/ containing exactly 4 digits. How do I use the /usr/bin/find command to only search my diary directories? So I would like my search to include ~/2009/abc/def and ~/2010/2001/33 but not ~/103/ or ~/20101/ or ~/201/... (2 Replies)
Discussion started by: siegfried
2 Replies

6. Programming

/usr/bin/ld: cannot find -lpam

I'm trying to compile sudo on RHEL 4.8 and during the make I get the this error. Does anyone know what package I'm missing? gcc -o sudo sudo_auth.o pam.o mkstemps.o ldap.o exec_pty.o get_pty.o iolog.o audit.o boottime.o check.o env.o exec.o getspwuid.o gettime.o goodpath.o fileops.o find_path.o... (2 Replies)
Discussion started by: woodson2
2 Replies

7. Shell Programming and Scripting

/usr/bin/scp error

I have this scp script running, /usr/bin/scp -r /cerner/mgr --exclude-from=/atg/move_exclude.dat 102.126.112.68:/cerner but am getting an error: --exclude-from=/atg/move_exclude.dat: No such file or directory I am wondering if the syntax is incorrect... I also have additional... (3 Replies)
Discussion started by: Daniel Gate
3 Replies

8. UNIX for Dummies Questions & Answers

/usr/bin/ld: cannot find -lboost_regex-mt

...... (30 Replies)
Discussion started by: larry burns
30 Replies

9. Shell Programming and Scripting

How to recursively /usr/bin/find only readonly files?

I'm having trouble because, for some reason, cp -R missed a few files. And so did xcopy/s. Since I'm running Cygwin on Win10, I decided to see if robocopy would be more effective. The trouble is someone, maybe xcopy/s or cp -R dutifully set certain files to be read only so when I try a... (6 Replies)
Discussion started by: siegfried
6 Replies
xslt-config(1)						      General Commands Manual						    xslt-config(1)

NAME
xslt-config - script to get information about the installed version of libxslt SYNOPSIS
xslt-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--libs] [--cflags] [--version] [--help] DESCRIPTION
xslt-config is a tool that is used to determine the compile and linker flags that should be used to compile and link programs that use libxslt. OPTIONS
xslt-config accepts the following options: --version Print the currently installed version of libxslt on the standard output. --libs Print the linker flags that are necessary to link a libxslt program. --cflags Print the compiler flags that are necessary to compile a libxslt program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that libxslt was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the executable prefix that libxslt was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. AUTHORS
Daniel Veillard (daniel@veillard.com) NOTES
Source for libxslt is available in the SUNWlxslS package. Documentation for libxslt is available on-line at http://www.xmlsoft.org/XSLT. 17 Jul 2002 xslt-config(1)
All times are GMT -4. The time now is 01:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy