× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Thu, 9 Mar 2006, Scott Klement wrote:


I'm trying to build x5250 version 0.5.2-pre3, which I downloaded from
James' site yesterday.  When I run ./configure it fails with the following
error:
  configure: error: ** Unable to find 5250 libraries!

At one point, I had contributed code to this project that used the
pkg-config tool to find lib5250.  However, this code appears to have been
removed from the project, and now lib5250 can't be found.

How do I tell it where to look for lib5250?

configure.ac now uses this code:

AC_CHECK_LIB(5250, tn5250_terminal_init, TN5250_LIB=-l5250)
if test "$ac_cv_lib_5250_tn5250_terminal_init" != "yes"
then
        AC_MSG_ERROR([** Unable to find 5250 libraries!])
fi

which simply checks for the tn5250_terminal_init() function in the library lib5250.so as found by ld. If the linker can't find lib5250 you may need to either edit /etc/ld.so.conf or set LD_LIBRARY_PATH to point to the location where you installed lib5250. configure no longer uses pkg-config to find lib5250 and tn5250 does not produce a pkg-config package.

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

As an Amazon Associate we earn from qualifying purchases.

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-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.