[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Issue with OpenLDAP shared libraries complie on AIX 6.1 using IBM xL Compiler



ITS # 6547.

Knowing absolutely nothing about the platform, and assuming you're not comfortable doing your own autoconf regeneration, I'd just s/aix5/aix6/g in ./configure (i.e. edit the file) and see where you end up -- maybe it'll work, maybe it won't, but my guess is it would be an extremely crude starting point that might be usable after setting appropriate environment variables.

If you're willing to help the Project validate new autoconf files, that would be really helpful (I'm guessing we're limited in access to AIX nowadays), and it would save you from having to do such disgusting things in future releases. You can follow up to the ITS via e-mail if that's an area of interest.

On Wed, 3 Nov 2010, Peter Lambrechtsen wrote:

configure:8914: checking whether the cc_r -qlanglvl=extc89 linker (/usr/ccs/bin/ld) supports shared libraries
configure:9790: result: no

--- Any way to get a more verbose output from what it's trying to do??

"bash -x ./configure"?

configure:10642: cc_r -qlanglvl=extc89 -o conftest -I/opt/openldap/include -I/opt/openldap/include -L/opt/openldap/lib conftest.c  >&5
ld: 0711-317 ERROR: Undefined symbol: .shl_load

-- I think this is the prolbem, shl_load, looks like I may need another include or figure out why it's complaining.

I understand that "ERROR" is an eye opener, but please realize that autoconf basically just tries everything and uses anything that doesn't error out. If shl_load isn't The Right Thing on AIX, this is a non-issue.