AIX 6.1 install trouble.

Tom Baxter tkb608 at gmail.com
Thu Sep 30 21:38:18 CEST 2010


  Thank you both for the quick reply. I changed my setup.cfg to
include openssl see below. I also verified that the IBM openssl
package was installed. Attached is the output from the single gcc
call.

lslpp -L | grep ssl
  openssl.base            0.9.8.1100    C     F    Open Secure Socket Layer
  openssl.man.en_US       0.9.8.1100    C     F    Open Secure Socket Layer

--------------------------------

[_ldap]
extra_objects =
extra_compile_args =
libs = ldap_r lber ssl
library_dirs = /usr/local/lib /usr/lib
include_dirs = /usr/local/include /usr/include/openssl

[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0

[install]
compile = 1
optimize = 1

[bdist_rpm]
doc_files = CHANGES README INSTALL TODO Demo/
provides = python-ldap
release = 0
packager = Michael Stroeder <michael at stroeder.com>
requires = python libldap.so.2

---------------------------

On Thu, Sep 30, 2010 at 2:23 PM, Chris Dukes <pakraticus at gmail.com> wrote:
> Manually rerun that last 'gcc' with a -Wl,-bnoquiet added to see the source
> of the objects depending on SSL symbols.
> I suspect that your ldap library is linked against OpenSSL.  I recommend
> installing either IBM's LPP of OpenSSL, or the RPM from www.perzl.org
>
> Here is the spec file I used to build python-ldap 2.3.10 back in March on
> AIX 5.3.
> http://zeniv.linux.org.uk/~pakrat/python-ldap-2.3.10-1.fc13aix53.spec
> This was added to the contents of the source RPM for python-ldap taken from
> Fedora 13.
> This was done with Visual Age 'C' and 'C++' 10.1.0.0
> I provided build requirements, including python, from
> http://www.perzl.org/aix/
> Unfortunately, I did not build the OpenLDAP RPM I used and cannot provide
> you the binary RPM.
> You can try using the openldap spec file from
> ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SPECS/
> in combination with the source and patches from current Fedora as a starting
> point for building OpenLDAP.
>
>
> On Thu, Sep 30, 2010 at 1:19 PM, Tom Baxter <tkb608 at gmail.com> wrote:
>>
>>   Hello, I am having trouble install python-ldap on an AIX 6.1 host. I
>> have compiled the openldap libraries and am trying to install without any
>> extras like SSL/crypt. Below is my setup.cfg, attached is the out put from
>> "python setup.py build".
>>   Any guidance would be greatly appreciated.
>>
>>   Thanks, Tom Baxter
>>
>> ---------------
>> [_ldap]
>> extra_objects =
>> extra_compile_args =
>> libs = ldap_r lber
>> library_dirs = /usr/local/lib
>> include_dirs = /usr/local/include
>>
>> [egg_info]
>> tag_build =
>> tag_date = 0
>> tag_svn_revision = 0
>>
>> [install]
>> compile = 1
>> optimize = 1
>>
>> [bdist_rpm]
>> doc_files = CHANGES README INSTALL TODO Demo/
>> provides = python-ldap
>> release = 0
>> packager = Michael Stroeder <michael at stroeder.com>
>> requires = python libldap.so.2
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Python-LDAP-dev mailing list
>> Python-LDAP-dev at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc.out
Type: application/octet-stream
Size: 16683 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20100930/2cb93de3/attachment.obj>


More information about the python-ldap mailing list