PDA

View Full Version : compile error



Leetlewon
02-10-2005, 04:27 PM
make runs ok until right at the end I have a snag:

...../usr/lib/qt-x11-free-3.3.0b1/lib -rpath /usr/X11R6/lib -lgdbm -lz -lpcap
g++: unrecognized option `-rpath'
g++: unrecognized option `-rpath'
/usr/lib/qt-x11-free-3.3.0b1/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status

It seems that this has something to do with -rpath being a flag to the linker, not the compiler. How do I pass the compiler options to the linker?

Leetlewon
02-10-2005, 04:43 PM
This may be a problem with automake

[root@localhost showeq]# automake --version
automake (GNU automake) 1.9
Written by Tom Tromey <[email protected]>.

I'm using 1.9. Perhaps dropping back to an earlier version will fix this.

Leetlewon
02-10-2005, 05:46 PM
./configure --disable-rpath

The above seems to solve my rpath problem.