bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-glpk] Glpk make install error


From: xypron
Subject: Re: [Bug-glpk] Glpk make install error
Date: Mon, 1 Dec 2008 15:20:34 -0800 (PST)

Hello Stuart,

> glpsol: error while loading shared libraries: libglpk.so.0: cannot open

if you have run ./configure without flag --prefix the libraries have been
installed in /usr/local/lib.

Please, list this directory. There should be a symbolic link from
libglpk.so.0 to the actual library.

Normally /usr/local/lib is not in the search path for runtime libraries. One
of the following solution should work for you:
- compile with --prefix
- create a symbolic link /usr/lib/libglpk.so
- change the search path for runtime libraries
cf http://blog.peter1402.de/archives/2008/09/24/Shared-libs-in-usrlocallib

On my laptop I have a file 
/etc/ld.so.conf.d/libc.conf
with the following content:
# libc default configuration
/usr/local/lib

Best regards

Xypron

-- 
View this message in context: 
http://www.nabble.com/Glpk-make-install-error-tp20782650p20782882.html
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]