
Hi, when I'm building a package, I got this error: gcc -g -O2 -o .libs/example1 example1.o ../../src/.libs/libsimgrid.so \ -lpthread /usr/lib/libxml2.so -lz -lm -Wl,--rpath -Wl,/usr/local/lib \ /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:\ cannot find -lz collect2: ld returned 1 exit status I'd like to know if this is because I'm missing some packages/settings before I contact the maintainer? TIA. -- -- Verdi March --

when I'm building a package, I got this error:
gcc -g -O2 -o .libs/example1 example1.o ../../src/.libs/libsimgrid.so \ -lpthread /usr/lib/libxml2.so -lz -lm -Wl,--rpath -Wl,/usr/local/lib \ /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:\ cannot find -lz collect2: ld returned 1 exit status
I'd like to know if this is because I'm missing some packages/settings before I contact the maintainer?
You're missing zlib. -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003

On Tuesday 20 May 2003 12:42, Derek Fountain wrote:
when I'm building a package, I got this error:
gcc -g -O2 -o .libs/example1 example1.o ../../src/.libs/libsimgrid.so \ -lpthread /usr/lib/libxml2.so -lz -lm -Wl,--rpath -Wl,/usr/local/lib \ /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bi n/ld:\ cannot find -lz collect2: ld returned 1 exit status
I'd like to know if this is because I'm missing some packages/settings before I contact the maintainer?
You're missing zlib.
It is already installed. "rpmlocate libz" shows: zlib-1.1.4-105: /lib/libz.so.1 /lib/libz.so.1.1.4 and "ldconfig -l | grep libz" shows: libzvt.so.2 (libc6) => /opt/gnome/lib/libzvt.so.2 libz.so.1 (libc6) => /lib/libz.so.1 I also checks config.log, and found that it is "Configured with: [...] --with-system-zlib [...]" Anything else that I missed :-( ? -- -- Verdi March --

On Tuesday 20 May 2003 13:18, Verdi March wrote:
On Tuesday 20 May 2003 12:42, Derek Fountain wrote:
You're missing zlib.
It is already installed. "rpmlocate libz" shows: zlib-1.1.4-105: /lib/libz.so.1 /lib/libz.so.1.1.4
Ok, my mistake. So, I need to install zlib-devel package, and now everything is working. -- -- Verdi March --
participants (2)
-
Derek Fountain
-
Verdi March