Re: Installing 1.3.5 on Ubuntu

Bob Friesenhahn <[email protected]> Thu, 4 Jun 2009 12:19:00 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Thu, 4 Jun 2009, Derek Ekins wrote:

> Hi,
> I have compiled 1.3.5 with ./configure --enable-shared;make;make install
> When I try and run gm -version I get this error:
>
> gm: error while loading shared libraries: libGraphicsMagick.so.3: cannot
> open shared object file: No such file or directory
>
> I found this file exists in magick/.libs but I am guessing it should be
> installed somewhere else. Any idea why the install isn't doing this?

The shared libraries should have been installed in /usr/local/lib. 
The Linux OS does not seem to automatically use libraries just because 
they have been installed.  For security and performance reasons it 
maintains a cache of the shared libraries installed in "approved" 
locations.  Nguyen Vu Hung's 'ldconfig' formula is likely to solve the 
problem.  It may also work to reboot the system, although Unix systems 
should never be rebooted for such a minor task.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get