Gian Fabio Palmerini wrote:
Hi folks, i am trying toinstall Nessus 2.1.1 on suse 9.0 as suggested in nessus' faq i have the following packages installed ...bunch of packages...
but when i try to compile nessus-core i have the following error:
include -Wl,--export-dynamic -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/opt/gnome/lib -lglib gdchart0.94b/gd1.3/libgd.a -lm /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status make[1]: *** [nessus] Error 1 make[1]: Leaving directory `/home/mailer/DOWNLOAD/NESSUS21/nessus-core/nessus' make: *** [client] Error 2
<vent>Personally, I *hate* compiling GTK based packages for reasons like this.</vent> My first guess would be that you don't have "pkgconfig" installed, which tells gtk where to find all the stuff on the system. Use YaST to install pkgconfig and see if you get closer to making it work. If you ever find yourself with GTK software that is installed but that configure can't find, pkgconfig is probably the culprit. If that's not the problem, you'll probably have to start solving this the "old fashioned way". (lots of work :-) BTW, your compile line looks correct. On my 9.0 system, I see: [17 ~/src] locate gtk-x11 /opt/gnome/lib/libgtk-x11-2.0.so.0 /opt/gnome/lib/libgtk-x11-2.0.so.0.200.3 [18 ~/src] ll /opt/gnome/lib/libgtk-x11-2.0.so.0 lrwxrwxrwx 1 root root 25 Jun 8 13:25 /opt/gnome/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.200.3 [19 ~/src] ll /opt/gnome/lib/libgtk-x11-2.0.so.0.200.3 -rwxr-xr-x 1 root root 2520527 Jan 15 2004 /opt/gnome/lib/libgtk-x11-2.0.so.0.200.3 So you have the correct "-L" in the link line, assuming those libs exist on your system too (you should check for this). HTH, Kevin