Re: [Gimp-user] What is the environment variable LD_LIBRARY_PATH??

2003-11-27 Thread David Neary
Hi David,

david wrote:
 The install file quoates
 
 Fix: On Linux and other systems using ELF libraries, add the
   directory to /etc/ld.so.conf or to the environment variable
   LD_LIBRARY_PATH, and run 'ldconfig'.
 
 Only I dont understand how to do this - I simply am lost with this.  
 What is the environment variable
  LD_LIBRARY_PATH??   I have come across ldconfig before so I 
 understand that-at least!!

This error message comes from the fact that it appears you have
gtk+ installed, but the libraries for it are not found. Those 
libraries are typically in /usr/local/lib after installing from 
source.

You have two options available to make the libraries found -
first, you can add the path /usr/local/lib to the file specified
above, and re-run ldconfig. Then the libraries will be available
to everyone, all the time. Or you can modify or create the
environment variable LD_LIBRARY_PATH (load library path) to
include the directory /usr/local/lib. This is a temporary
solution for you, for the current session. The favoured solution
would be to add the directory to ld.so.conf.

Please check in /usr/local/lib to make sure that you see at least
a libgtk+.so first, to make sure that this is indeed the problem.
If not, we may have to dig a little further.

Cheers,
Dave.

-- 
   David Neary,
   Lyon, France
  E-Mail: [EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] What is the environment variable LD_LIBRARY_PATH??

2003-11-27 Thread Daniel Rogers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Neary wrote:
| Hi David,
|
| david wrote:
|
|The install file quoates
|
|
|Fix: On Linux and other systems using ELF libraries, add the
| directory to /etc/ld.so.conf or to the environment variable
| LD_LIBRARY_PATH, and run 'ldconfig'.
|
|Only I dont understand how to do this - I simply am lost with this.
|What is the environment variable
| LD_LIBRARY_PATH??   I have come across ldconfig before so I
|understand that-at least!!
|
|
| This error message comes from the fact that it appears you have
| gtk+ installed, but the libraries for it are not found. Those
| libraries are typically in /usr/local/lib after installing from
| source.
|
| You have two options available to make the libraries found -
| first, you can add the path /usr/local/lib to the file specified
| above, and re-run ldconfig. Then the libraries will be available
| to everyone, all the time. Or you can modify or create the
| environment variable LD_LIBRARY_PATH (load library path) to
| include the directory /usr/local/lib. This is a temporary
| solution for you, for the current session. The favoured solution
| would be to add the directory to ld.so.conf.
|
| Please check in /usr/local/lib to make sure that you see at least
| a libgtk+.so first, to make sure that this is indeed the problem.
| If not, we may have to dig a little further.
There is a third solution, which most people forget.  You can add
- -R/usr/local/lib to your gcc flags to add a runtime search path to the
binary.  This is, in many peoples opinion, the best solution.
Especially if the administrator cannot trust libraries in /usr/local/lib
and it doesn't break things nearly so much as LD_LIBRARY_PATH.
Also, if it makes you feel any better, Mandrake is notoriously difficult
to get the gimp running on.  It seems to not have very good quality
control on it's packages.  You are not the first person to experience
loads of problems installing on mandrake.
- --
Dan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/xjH/ad4P1+ZAZk0RAj/LAJ4gbhUrhX0GAw/SbjAlyf+RrISMIACgny5C
huL33xfO8Rs5OpnqWCvKL5A=
=u8/F
-END PGP SIGNATURE-
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] What is the environment variable LD_LIBRARY_PATH??

2003-11-26 Thread Sven Neumann
Hi,

david [EMAIL PROTECTED] writes:

 I have attempted to install the latest release of the gimp
 1.3.23.tar.bz2.  Only I'm having difficulties with getting past the
 gtk test-infact I dont get past this part in configure.
 
 I've spent much of the afternoon installing updates for everything
 that has gtk in the package name.  I have also installed the source
 from gtk.org for gtk+-2.2.2 to meet the dependency problem.  This did
 not work. I looked at the install file as directed by the
 output/comment. The install file quoates
 
  Fix: On Linux and other systems using ELF libraries, add the
directory to /etc/ld.so.conf or to the environment variable
LD_LIBRARY_PATH, and run 'ldconfig'.
 
 Only I dont understand how to do this - I simply am lost with this.
 What is the environment variable
   LD_LIBRARY_PATH??   I have come across ldconfig before so I
 understand that-at least!!

Perhaps you should use the simpler approach. Assuming you are on
Linux, installed gtk+ in the default location (/usr/local) and have
root permissions, you can add /usr/local/lib to /etc/ld.so.conf and
run ldconfig. This extends the search path for libraries to include
the folder that gtk+ has been installed to and should fix your
problem.


Sven

PS: environment variables aren't rocket science neither
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user