As the subject says. Can I override in profile.local or do I have to use Yast2 to edit?
Hi
Is this an error your getting when compiling? If so then your missing a
devel package.
Else you should be able to export it in your shell ( ~/.profile) you
can also check vi the command env
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 8 days 16:32, 6 users, load average: 0.64, 0.39, 0.29
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
I just want to change the environment variable.
If you type echo $PKG_CONFIG_PATH in aterminal it will report something like:
/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig
However if you look in /etc/ld.so.conf
/usr/local/lib64 comes before
/usr/lib64
So I want to change my PKG_CONFIG_PATH to something like
/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig
So that the library reported by pkgconfig matches the library that it would be linked against.
Hi
I get nothing for the echo command, most of that is picked up via the
configure script. AFAIK, using /usr/local is not the preferred
library location on openSUSE. In the past I normally just add a package
specific ld conf file in /etc/ld.so.conf.d (when building rpms).
I would have though if you export the above into PKG_CONFIG_PATH and
create a <your_app>.conf file with the path/app and place
in /etc/ld.so.conf.d/ then run ldconfig you should be good to go. Have
a look at an existing file in the ld.so.conf.d directory for the format.
This will ensure it’s update independent in case something updates a
profile etc.
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 8 days 18:47, 3 users, load average: 0.00, 0.11, 0.19
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53