[Top][All Lists]

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

Re: [XForms] opensuse 12.2 and rgb.txt file

From: Jens Thoms Toerring
Subject: Re: [XForms] opensuse 12.2 and rgb.txt file
Date: Thu, 7 Mar 2013 16:41:08 +0100
User-agent: Mutt/1.5.21 (2010-09-15)


On Thu, Mar 07, 2013 at 08:28:16AM -0600, Rick Engebretson wrote:
> Just a small note that opensuse 12.2 installs the rgb.tx file in
> /usr/share/X11 . The library will compile and install, but will not
> work. The rgb.txt file should be copied to /usr/lib/X11 and it works
> great.

I don't see how the availability of the rgb.txt file can
keep the XForms library from working. There is one demo pro-
gram that tries to read this file, but not the library it-

Unfortunately, different distros put the file in different
locations, and in the places where it's used efforts are
made to find it anyway (by looking into a number of different

> I'm using a Freepascal unit updated, and the message states
> libforms.so.2 can't be found when a compiled program is run. Even
> the distribution compiled C demos fail. So it is a confusing problem
> that seem to have a simple solution.

I don't know what "Freepascal unit updated" is, but I can't
see at the moment how a missing rgb.txt file could be res-
ponsible. Assuming that libforms.so.2 actually exists per-
haps there's something simpler. One thing that comes to mind
is that perhaps the cache of the runtime linker needs uoda-
ting after the install, as can be done with

sudo ldconfig

Another possible reason might be that libforms.so per default
gets installed in /usr/local/lib, but not all systems include
this directory into the default path the runtime linker will
check for libraries. In that case it might help to put a file
(with an arbitary name) into the /etc/ld.so.conf.d directory
that contains just a single line with


and the run ldconfig as described above.

                           Best regards, Jens
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de

reply via email to

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