The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Jeremiah <jeremiah.campb... @gmail.com>
Date: Thu, 24 Jul 2008 16:30:36 -0700 (PDT)
Local: Thurs, Jul 24 2008 7:30 pm
Subject: krb5 build problem
Howdy,
I am unable to run the first tutorial for the python-ad package.
I downloaded and installed all dependencies. currently running mac os
x 10.5, python 2.5
ran python setup.py build, below is the extension output.
building 'ad.protocol.krb5' extension
creating build/temp.macosx-10.5-i386-2.5
creating build/temp.macosx-10.5-i386-2.5/lib
creating build/temp.macosx-10.5-i386-2.5/lib/ad
creating build/temp.macosx-10.5-i386-2.5/lib/ad/protocol
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -
DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -
I/System/Library/Frameworks/Python.framework/Versions/2.5/include/
python2.5 -c lib/ad/protocol/krb5.c -o build/temp.macosx-10.5-i386-2.5/
lib/ad/protocol/krb5.o
gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc
build/temp.macosx-10.5-i386-2.5/lib/ad/protocol/krb5.o -lkrb5 -o build/
lib.macosx-10.5-i386-2.5/ad/protocol/krb5.so
Then ran python setup.py install, seemed to work with any errors being
reported.
When I run the first tutorial I get the following when it tries to
load the modules.
ImportError: dlopen(/Library/Python/2.5/site-packages/ad/protocol/
krb5.so, 2): Symbol not found: _initialize_krb5_error_table
Referenced from: /Library/Python/2.5/site-packages/ad/protocol/
krb5.so
Expected in: dynamic lookup
I can see it has something to do with dynamic lookup but my experience
with gcc is quite limited.
Any insights or suggestions on getting this to work would be much
appreciated.
Thanks.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Jeremiah <jeremiah.campb... @gmail.com>
Date: Fri, 25 Jul 2008 07:19:15 -0700 (PDT)
Local: Fri, Jul 25 2008 10:19 am
Subject: Re: krb5 build problem
Further research has lead me to believe this may be a common mac
problem though it is still clear as mud to me.
"thus no more error -undefined dynamic_lookup can't be used with
MACOSX_DEPLOYMENT_TARGET environment" found in some build problem
here:
http://mail.python.org/pipermail/pythonmac-sig/2005-October/015190.html
in fact if you just google "dynamic_lookup" you will find most of the
top set of results mac related.
i guess i haven't learned the gcc secret handshake for the mac yet.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Geert Jansen" <ge... @boskant.nl>
Date: Fri, 25 Jul 2008 16:37:34 +0200
Local: Fri, Jul 25 2008 10:37 am
Subject: Re: krb5 build problem
Hi, which version of Kerberos are you running?
Regards, Geert
On Fri, Jul 25, 2008 at 1:30 AM, Jeremiah <jeremiah.campb... @gmail.com> wrote:
> Howdy,
> I am unable to run the first tutorial for the python-ad package.
> I downloaded and installed all dependencies. currently running mac os > x 10.5, python 2.5
> ran python setup.py build, below is the extension output.
> building 'ad.protocol.krb5' extension > creating build/temp.macosx-10.5-i386-2.5 > creating build/temp.macosx-10.5-i386-2.5/lib > creating build/temp.macosx-10.5-i386-2.5/lib/ad > creating build/temp.macosx-10.5-i386-2.5/lib/ad/protocol > gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- > madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes - > DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe - > I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ > python2.5 -c lib/ad/protocol/krb5.c -o build/temp.macosx-10.5-i386-2.5/ > lib/ad/protocol/krb5.o > gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc > build/temp.macosx-10.5-i386-2.5/lib/ad/protocol/krb5.o -lkrb5 -o build/ > lib.macosx-10.5-i386-2.5/ad/protocol/krb5.so
> Then ran python setup.py install, seemed to work with any errors being > reported. > When I run the first tutorial I get the following when it tries to > load the modules.
> ImportError: dlopen(/Library/Python/2.5/site-packages/ad/protocol/ > krb5.so, 2): Symbol not found: _initialize_krb5_error_table > Referenced from: /Library/Python/2.5/site-packages/ad/protocol/ > krb5.so > Expected in: dynamic lookup
> I can see it has something to do with dynamic lookup but my experience > with gcc is quite limited. > Any insights or suggestions on getting this to work would be much > appreciated.
> Thanks.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Jeremiah <jeremiah.campb... @gmail.com>
Date: Fri, 25 Jul 2008 08:40:04 -0700 (PDT)
Local: Fri, Jul 25 2008 11:40 am
Subject: Re: krb5 build problem
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Geert Jansen <gee... @gmail.com>
Date: Sun, 17 Aug 2008 10:06:49 -0700 (PDT)
Local: Sun, Aug 17 2008 1:06 pm
Subject: Re: krb5 build problem
Hi,
(just back from holidays).
The version of Kerberos you are using is also the same one that i am
using without problems, so I agree with you assessment that the
problem is likely a Mac problem. As I don't have access to a Mac, i'm
afraid I can't help you much further.
Does anyone on the list have an idea?
Regards,
Geert
On Jul 25, 5:40 pm, Jeremiah <jeremiah.campb... @gmail.com> wrote:
You must
Sign in before you can post messages.
You do not have the permission required to post.