help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] glpk-4.60 problem --- libglpk.so.40: cannot open shared


From: Noli Sicad
Subject: Re: [Help-glpk] glpk-4.60 problem --- libglpk.so.40: cannot open shared object file: No such file or directory in Ubuntu 16.04
Date: Sat, 2 Apr 2016 18:14:12 +1100

Hi,

Ubuntu wants this command:

ldconfig /usr/local/lib

after

sudo make install

ldconfig /usr/local/lib

Fixed the problem.

Noli


On 4/2/16, Noli Sicad <address@hidden> wrote:
> Hi,
>
> I got a new Dell Inspiron 15.4 laptop Windows 10, -Inspiron-5559 and
> dual booting it with Ubuntu 16.04 today. It is new Skylake i7 CPU and
> previous Ubuntu version will not run on it. Hence, I am running Ubuntu
> 16.04.
>
> I got this problem  libglpk.so.40: cannot open shared object file: No
> such file or directory1
>
> I think it is related to this dynamic library
>
> libglpk.so.40.1.0
>
> Here's the log below.
>
> Thanks.
>
> Noli
> ~~~~~~~~~~~~~~~~
>
> address@hidden:~/Documents/glpk-4.60$ sudo make install
> [sudo] password for noli:
> Making install in src
> make[1]: Entering directory '/home/noli/Documents/glpk-4.60/src'
> make[2]: Entering directory '/home/noli/Documents/glpk-4.60/src'
>  /bin/mkdir -p '/usr/local/lib'
>  /bin/bash ../libtool   --mode=install /usr/bin/install -c
> libglpk.la '/usr/local/lib'
> libtool: install: /usr/bin/install -c .libs/libglpk.so.40.1.0
> /usr/local/lib/libglpk.so.40.1.0
> libtool: install: (cd /usr/local/lib && { ln -s -f libglpk.so.40.1.0
> libglpk.so.40 || { rm -f libglpk.so.40 && ln -s libglpk.so.40.1.0
> libglpk.so.40; }; })
> libtool: install: (cd /usr/local/lib && { ln -s -f libglpk.so.40.1.0
> libglpk.so || { rm -f libglpk.so && ln -s libglpk.so.40.1.0
> libglpk.so; }; })
> libtool: install: /usr/bin/install -c .libs/libglpk.lai
> /usr/local/lib/libglpk.la
> libtool: install: /usr/bin/install -c .libs/libglpk.a
> /usr/local/lib/libglpk.a
> libtool: install: chmod 644 /usr/local/lib/libglpk.a
> libtool: install: ranlib /usr/local/lib/libglpk.a
> libtool: finish:
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin"
> ldconfig -n /usr/local/lib
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
>  /bin/mkdir -p '/usr/local/include'
>  /usr/bin/install -c -m 644 glpk.h '/usr/local/include'
> make[2]: Leaving directory '/home/noli/Documents/glpk-4.60/src'
> make[1]: Leaving directory '/home/noli/Documents/glpk-4.60/src'
> Making install in examples
> make[1]: Entering directory '/home/noli/Documents/glpk-4.60/examples'
> make[2]: Entering directory '/home/noli/Documents/glpk-4.60/examples'
>  /bin/mkdir -p '/usr/local/bin'
>   /bin/bash ../libtool   --mode=install /usr/bin/install -c glpsol
> '/usr/local/bin'
> libtool: install: /usr/bin/install -c .libs/glpsol /usr/local/bin/glpsol
> make[2]: Nothing to be done for 'install-data-am'.
> make[2]: Leaving directory '/home/noli/Documents/glpk-4.60/examples'
> make[1]: Leaving directory '/home/noli/Documents/glpk-4.60/examples'
> make[1]: Entering directory '/home/noli/Documents/glpk-4.60'
> make[2]: Entering directory '/home/noli/Documents/glpk-4.60'
> make[2]: Nothing to be done for 'install-exec-am'.
> make[2]: Nothing to be done for 'install-data-am'.
> make[2]: Leaving directory '/home/noli/Documents/glpk-4.60'
> make[1]: Leaving directory '/home/noli/Documents/glpk-4.60'
> address@hidden:~/Documents/glpk-4.60$ glpsol --help
> glpsol: error while loading shared libraries: libglpk.so.40: cannot
> open shared object file: No such file or directory
> address@hidden:~/Documents/glpk-4.60$
>



reply via email to

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