in reply to Re^2: compile perl module without root and extra library
in thread compile perl module without root and extra library

I think that should be LIBS="-L/usr/home/rolf/local/lib -lswe" (note the quotes). Also, the A.M. probably meant LD_LIBRARY_PATH. As an alternative to the latter, try passing the -rpath option to the linker (to compile in the run-time lib search path).

As a quick fix, simply manually run (from the directory where SwissEph.o resides):

$ cc -shared -L/usr/local/lib SwissEph.o -o blib/arch/auto/SwissEph/Sw +issEph.so -L/usr/home/rolf/local/lib -lswe -Wl,-rpath,/usr/home/rolf/ +local/lib

(sorry I don't have the time to write a more complete reply... hope it still helps)

Replies are listed 'Best First'.
Re^4: compile perl module without root and extra library
by gikotim (Initiate) on Jan 12, 2010 at 11:45 UTC
    Thanks this does the trick!