[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lt_dlopen() bad behaviour on AIX
From: |
Laurent Vivier |
Subject: |
lt_dlopen() bad behaviour on AIX |
Date: |
Fri, 14 Jun 2002 18:13:13 +0200 |
On AIX, using library with name of the kind lib<name>.a, lt_dlopen()
cannot find library if provided name is lib<name>.so and don't return
any error code to allow to seek the library using lib<name>.la.
To correct the problem, I propose the following solution:
*** ../link/src/libtool/libltdl/ltdl.c Tue Sep 11 04:02:07 2001
--- libtool/libltdl/ltdl.c Fri Jun 14 11:10:30 2002
***************
*** 2847,2854 ****
#endif
)))
{
! tryall_dlopen (&newhandle, filename);
! }
if (!newhandle)
{
--- 2847,2857 ----
#endif
)))
{
! if (tryall_dlopen (&newhandle, filename) != 0)
! {
! newhandle = 0;
! }
! }
if (!newhandle)
{
--
-------------- Laurent Vivier ---------------
mailto:address@hidden
phone: (+33) 476 29 7866 Bullcom: 229-7866
--------------BULL/FREC:B1-226---------------
When we speak of free software, we are refer-
ring to freedom, not price. (in GPL:Preamble)
-------------- BI&S/GeODE/AIX ---------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lt_dlopen() bad behaviour on AIX,
Laurent Vivier <=