On Fri, 21 Nov 2008, Porterfield, Sean wrote:

James Rich wrote:

The latest version of x5250 is x5250-0.5.2-pre4.tar.gz available at:

http://www.eaerich.com/x5250-0.5.2-pre4.tar.gz

That works much better, thanks. I thought there was a pre4 but could not find it when I downloaded the pre3 version. Now I'm back to something I'm pretty sure I've had before, but don't care enough tonight to solve:

x5250: error while loading shared libraries: lib5250.so.0: cannot open shared object file: No such file or directory

It might be the good ole ldconfig issue.

You are correct, this is a case of ldconfig not knowing where to find the library. One option that you might consider is using the --prefix argument to ./configure like this:

./configure --prefix=/usr

That will install things in /usr instead of /usr/local. Of course, lots of people don't like mixing things they build themselves with what comes with their distribution, so it is up to you. I've found my preferred way to run configure is like this:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib/tn5250

This means I can put a tn5250rc file in /etc that can be used by all users. Everyone has their favorite configuration, this is just mine.

James Rich

if you want to understand why that is, there are many good books on
the design of operating systems. please pass them along to redmond
when you're done reading them :)
- Paul Davis on ardour-dev

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].