+------ Dennis Peterson wrote (Thu, 26-Mar-2009, 14:41 -0700):
| 
| Vigil, Joe wrote:
| > My environment:
| >     AIX 4.3.3 (yeah, I know it's old)
| >     GCC 2.95.2
| >     Clamav v0.95
| >  
| > I'm getting the same error " LibClamAV Warning: Cannot dlopen: file not 
found - unrar support unavailable".
| > I've tried setting the LIBPATH variable to "/usr/local/lib" (LIBPATH is the 
AIX equivalent to LD_LIBRARY_PATH).
| > Here's the contents of /usr/local/lib:
| > /usr/local/lib joe: ls -l libclam*
| > -rw-r--r--   1 root     system   1799258 Mar 25 15:16 libclamav.a
| > -rwxr-xr-x   1 root     system       978 Mar 25 15:16 libclamav.la
| > -rw-r--r--   1 root     system    125990 Mar 25 15:16 libclamunrar.a
| > -rwxr-xr-x   1 root     system       918 Mar 25 15:16 libclamunrar.la
| > -rw-r--r--   1 root     system     17008 Mar 25 15:16 libclamunrar_iface.a
| > -rwxr-xr-x   1 root     system       969 Mar 25 15:16 libclamunrar_iface.la
| > 
| > Here's how I built it:
| > export CC="/usr/local/bin/gcc"
| > export CFLAGS="-D_XOPEN_SOURCE=500 -D_ALL_SOURCE"
| > export LDFLAGS="-lpthreads -liconv"
| 
| 
| This may be helpful to sort out linking issues in AIX:
| 
| http://castaglia.org/proftpd/doc/README.AIX.html

Caveat:  That was written a long, long time ago, circa 2000.
I should have included the context, i.e. AIX 4.3.3 (as best as I recall).
I'll try to do better next time...

It hasn't been updated for newer releases.  I haven't worked with AIX since
that time.  Also, it was written in a simpler, libtool-free world.  8-/

The proftpd-1.3.2 distribution contains a README.AIX that has some updates,
including a warning to use gcc-4.1.0 rather than gcc-3.3.2, and to use
"-D_NO_PROTO" rather than "-U__STR__" with newer proftpd versions.
You can view this file online from the CVS repository:

http://proftp.cvs.sourceforge.net/viewvc/proftp/proftpd/README.AIX?revision=1.7

Since the OP is still running AIX 4.3.3(!), I'll be pleased if this
still provides any benefit to him or anyone else.

This kind of feels like a time warp...

Best Regards,
Chuck

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to