[Wylug-help] gazebo-netbpm-libpnm, compilation error for software installation

James Holden wylug at jamesholden.net
Fri May 28 17:06:44 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yiannis Gatsoulis wrote:
[...]
| /usr/bin/ld: cannot find -lpnm
| collect2: ld returned 1 exit status
| make[3]: *** [gazebo] Error 1
|
|
| apparently it is because it is missing an image manipulation library
called
| libpnm. this exists in the old version of netbpm package. my machine
is running
| fedora-c2 (has a newer version of netpbm where libpnm does not exist
but it has
| been merged into one file with the other libraries), and i have
"installed" an
| older version of netpbm with the requested libraries
(netpbm-9.24-12.1.1). in
| fact i have copied the libraries into /usr/lib and then run ldconfig
(dont know
| if it was necessary). still though i am getting the same compilation
error. in
| a fedora-c1 machine it had installed fine.

If you installed a packaged version of netpbm you may not have got the
header files necessary to compile programs which link to it.

Look for /usr/include/pnm.h which should be present. Also, can you see
/usr/lib/libpnm.so*, which is the actual library itself.

netpbm-10.19-7.i386.rpm is included with Fedora Core 2 and provides
libpnm. You can download it from:

http://download.fedora.redhat.com/pub/fedora/ \
linux/core/2/i386/os/Fedora/RPMS/netpbm-10.19-7.i386.rpm

If you still don't get anywhere please post the output of ldconfig -v



Regards,

James


- --
James Andrew Holden, Leeds, UK    (james at jamesholden dot net)
GPG Key: 1024D/8358863A    *Please encrypt mail where possible!*
Fingerprint:  32C9 A76F 3CFE A06C 1B00  5AAB 9877 4742 8358 863A
jamesholden.net ICQ: 11290827 >Buy Linux CDs from fastdiscs.com<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAt2OUmHdHQoNYhjoRAm+PAKCBhIeYhTMR0XtTT/kgzxiJXYxHkQCg5eRm
B5rFXGo7WRZTXA4B8uW+NCk=
=XjEa
-----END PGP SIGNATURE-----




More information about the Wylug-help mailing list