Compiling from source with different library prefixes
Hi,
I usually compile from source, using a set of ruby scripts,
and paco (from sourceforge) to drop binaries.
I have a mixed system, meaning most basic things go into
/usr prefix, but other packages, especially smaller ones,
go into /pkg/programname/version.
My scripts do all the necessary symlinking too, however
often it seems that libraries cant be found.
I assume this is either because of wrong include, or
wrong library files, or better said:
The configure script of a program does not check my
/pkg directory.
Is there a way I could tell my shell (bash) that I
want to include all things that are in /pkg or in
/symlink? I know distributions like Gobolinux
do it somehow, but I seem to have a difficulty
especially with libraries that are not under /usr/lib
or similar dirs
(/symlink is just my helper dir, where all things get
symlinked to)
|