AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Libraries for AIX 5.3

  • 1.  Libraries for AIX 5.3

    Posted Wed June 18, 2008 10:59 PM

    Originally posted by: SystemAdmin


    hi,

    I want to install CUPS in AIX 5.3. Where i can get the dependencies that is mentioned in INSTALL.txt (depedencies like gcc,gettext,libiconv,zlib,libpng,jpeg,tiff,ghostscript)
    Please provide me the path to download the libraries....

    Thanks in advance.......
    #AIX-Forum


  • 2.  Re: Libraries for AIX 5.3

    Posted Thu June 19, 2008 12:23 AM

    Originally posted by: SystemAdmin


    gettext-0.10.40-8.aix5.2.ppc.rpm, can this library be installed in AIX 5.3.. it is mentioned aix5.2. i want to install gettext library in aix 5.3.

    if this library can be installed , what is the installation procedure for this rpm..
    #AIX-Forum


  • 3.  Re: Libraries for AIX 5.3

    Posted Thu June 19, 2008 03:31 PM

    Originally posted by: SystemAdmin


    In general packages for older versions of AIX can be installed on newer versions thanks to binary compatibility. So, you should be able to install this rpm on AIX 5.3.

    Assuming you pulled this from the AIX Toolbox for Linux Applications:
    http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html
    there are installation tips linked to from that site here:
    ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/README.txt

    In general you can issue a command such as:

    rpm -i <package name>

    or

    rpm -ihv <package name>

    the second version will print extra information as the package is unpacked.

    Message was edited by: bfveale
    #AIX-Forum


  • 4.  Re: Libraries for AIX 5.3

    Posted Thu June 19, 2008 02:07 AM

    Originally posted by: SystemAdmin


    Hi,

    I downloaded cups-1.3.7 and while installing it I am getting errors.
    I gave
    CFLAGS="-I/usr/bin"\
    CPPFLAGS="-I/usr/bin"\
    CXXFLAGS="-I/usr/bin"\
    DSOFLAGS="-L/usr/lib"\
    LDFLAGS="-L/usr/lib"\
    ./configure

    gcc,gettext,ghoshtscript is present in usr/bin and jpeg,libpng,tiff and zlib are present in /usr/lib...

    configuration was successful........

    but when i gave make command, compilations was happening and suddenly the following error was thrown..

    creating libcups_s.a
    collect2: library libm not found
    make: 1254-004 The error code for the last command is 1.
    stop.
    make: 1254-004 The error code for the last command is 1.
    stop.

    What is missing here??

    Thanks,
    #AIX-Forum


  • 5.  Re: Libraries for AIX 5.3

    Posted Thu June 19, 2008 03:52 PM

    Originally posted by: dukessd


    "library libm not found"

    Just a guess, but I think it cannot find libm:
    #AIX-Forum


  • 6.  Re: Libraries for AIX 5.3

    Posted Thu June 19, 2008 11:35 PM

    Originally posted by: SystemAdmin


    Thanks for the reply...
    libm library is missing. I think it requires bos.adt.libm.....
    Where can i download this library is not present the link you have mentioned..

    Please provide me the link..
    #AIX-Forum


  • 7.  Re: Libraries for AIX 5.3

    Posted Fri June 20, 2008 08:23 AM

    Originally posted by: SystemAdmin


    This below issue was solved by installing the library libm from installation CD.

    but again I am getting some other errors as below. please help me to solve this problem.

    after giving ./configure, gave "make"
    was compiling...
    .....
    compiling util.c...
    Creating libcups_s.a...
    ld: 0711-319 WARNING: Exported symbol not defined: _httpBIOMethods
    ld: 0711-317 ERROR: Undefined symbol: __stack_chk_guard
    ld: 0711-317 ERROR: Undefined symbol: .__stack_chk_fail
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    collect2: ld returned 8 exit status
    make: 1254-004 The error code from the last command is 1.

    Stop.

    make: 1254-004 The error code from the last command is 1.
    Stop.
    I could not find a solution for this error. Please help me solving it.

    Thanks in advance.
    Any help is appreciated.
    #AIX-Forum


  • 8.  Re: Libraries for AIX 5.3

    Posted Fri June 20, 2008 09:40 AM

    Originally posted by: orphy


    It mentions this. Maybe you should try it?

    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    Orphy
    #AIX-Forum


  • 9.  Re: Libraries for AIX 5.3

    Posted Fri June 20, 2008 10:59 AM

    Originally posted by: SystemAdmin


    As mentioned in another post, you should definitely try compiling with the -bloadmap or -bnoquiet options.

    Have you looked at the output generated by configure? This might give you some hints as to what types of dependencies might still be missing, even if they don't result in errors.

    The error you have posted looks like it might be related to OpenSSL support. Have you installed OpenSSL?

    If you get this working please let us know the solution to your problem.
    #AIX-Forum


  • 10.  Re: Libraries for AIX 5.3

    Posted Sat June 21, 2008 03:14 AM

    Originally posted by: SystemAdmin


    I installed open ssl and zlib. when installing openssh with ./configure command, it gave an error zlib.h not found. i installed it. but i dont know where this zlib.h is present. i checked in usr/lib, it is not present.
    where can i find this lib. and where it has to be placed in order to avoid this error.........

    Thanks,,,
    #AIX-Forum


  • 11.  Re: Libraries for AIX 5.3

    Posted Sat June 21, 2008 07:11 AM

    Originally posted by: SystemAdmin


    I installed both openssh but still m getting the same error. could not identify why this error is coming.

    Please help me if you have solution.
    #AIX-Forum


  • 12.  Re: Libraries for AIX 5.3

    Posted Sat June 21, 2008 09:10 AM

    Originally posted by: SystemAdmin


    Hi i solved this problem.....

    I installed openssl, and removed _httpBIOMethods line but of no use.
    i removed -fstck protector line in Makedefs file. and gave ./configure. tat was the mistake.. after removing should give
    make command.

    now it got compiled few more and again has given error.

    g++ not found.

    Installed libstdc++ but still giving error.

    Anybody has any idea where g++ is available for download......

    Thanks,
    #AIX-Forum


  • 13.  Re: Libraries for AIX 5.3

    Posted Mon June 23, 2008 10:15 AM

    Originally posted by: SystemAdmin


    You need the GNU C++ compiler. On the AIX Toolbox for Linux, this package is listed as:
    gcc-c++ "C++ support for GCC" package from the AIX Toolbox for Linux

    http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html
    #AIX-Forum