in reply to Re: GD-2.56 installation without root.
in thread GD-2.56 installation without root.

But I have correctly installed the libgd-gd-2.1.1 and give the path of directory in .bashrc.

Should i give the path (in .bashrc) where libgd.so.3 is located I could not understand. PLease explains little.

  • Comment on Re^2: GD-2.56 installation without root.

Replies are listed 'Best First'.
Re^3: GD-2.56 installation without root.
by hippo (Archbishop) on Jul 09, 2015 at 17:17 UTC

    Did you use ldconfig when you installed libgd? Where is libgd.so.3? How (precisely) did you install libgd? What is the value of $LD_LIBRARY_PATH?

    Some or all of these could have a bearing on whether the test script can find the library. This is not really a perl-specific issue - it's a question of being able to correctly install and use third-party libraries.

      I simply install libgd-gd-2.1.1 by extrat it. ./confugure --prefix=same directory where I extarctit, make and make install I never used these things like ldconfig. libgd.so.3 is in the libgd-gd-2.1.1/lib/libgd.so.3 as a simlink (libgd.so.3 -> libgd.so.3.0.0) What I HAVE TO DO NOW ??
        What I HAVE TO DO NOW ??

        First off, please don't shout. This is a monastery - a place for quiet contemplation and devout learning. And you might wake up some of the more belligerent brethren.

        I suggest that you set the environment variable LD_LIBRARY_PATH to be the full path to wherever you installed libgd.so.3. eg. (assuming a Bourne-like shell):

        export LD_LIBRARY_PATH=/some/path/to/libgd-gd-2.1.1/lib

        Then run ./Build test again and see if that makes any difference.

        In future I would very strongly advise you not to install software into the same directory where its source resides - this will likely cause you trouble. If you can do it now, re-install libgd somewhere else, eg $HOME/lib if you have no rights to any of the usual locations.