|
From: Michael <mi...@st...> - 2002-02-01 12:36:41
|
HI! Another pre-release version of python-ldap is available at http://sourceforge.net/project/showfiles.php?group_id=2072 Please test! Ciao, Michael. |
|
From: Jens V. <je...@zo...> - 2002-02-01 12:52:47
|
hi michael,
i'm getting this:
>>> import ldap
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.1/site-packages/ldap/__init__.py", line =
5,=20
in ?
from _ldap import *
ImportError: liblber.so.2: cannot load shared object file: No such file =
or=20
directory
>>>
i'm on YellowDog linux 2.1 (a redhat 7 clone for mac) with OpenLDAP =
2.0.18=20
and Python2.1.2. the messages from setup.py build and setup.py compile =
did=20
not contain any errors during compilation.
is it just my setup or is there a problem? this worked fine with the=20
previous release candidate you put on the sourceforge file list.
jens
On Friday, February 1, 2002, at 07:36 , Michael Str=F6der wrote:
> HI!
>
> Another pre-release version of python-ldap is available at
>
> http://sourceforge.net/project/showfiles.php?group_id=3D2072
>
> Please test!
>
> Ciao, Michael.
>
> _______________________________________________
> Python-LDAP-dev mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
|
|
From: Michael <mi...@st...> - 2002-02-01 13:06:58
|
Jens Vagelpohl wrote: > > >>> import ldap > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/local/lib/python2.1/site-packages/ldap/__init__.py", line 5, > in ? > from _ldap import * > ImportError: liblber.so.2: cannot load shared object file: No such file or > directory > >>> > > i'm on YellowDog linux 2.1 (a redhat 7 clone for mac) with OpenLDAP 2.0.18 > and Python2.1.2. the messages from setup.py build and setup.py compile did > not contain any errors during compilation. > > is it just my setup or is there a problem? this worked fine with the > previous release candidate you put on the sourceforge file list. This seems to be a problem with your OpenLDAP 2 shared libs. Check shared libs with $ ldd [Python lib dir]/site-packages/_ldap.so Make sure you have either configured /etc/ld.so.conf (invoke ldconfig after modifications) to contain directory lib/ of your local OpenLDAP 2 installation or set LD_LIBARY_PATH accordingly. If that does help since your on Mac architecture there might be other subtle problems I don't know of. Ciao, Michael. |
|
From: Jens V. <je...@zo...> - 2002-02-01 13:38:28
|
michael, hm... very interesting. the lib directory was not in ld.so.conf. i'm=20 surprised it never failed before... now everything seems OK. thanks! jens On Friday, February 1, 2002, at 08:06 , Michael Str=F6der wrote: > Jens Vagelpohl wrote: >> >>>>> import ldap >> Traceback (most recent call last): >> File "<stdin>", line 1, in ? >> File "/usr/local/lib/python2.1/site-packages/ldap/__init__.py", = line=20 >> 5, >> in ? >> from _ldap import * >> ImportError: liblber.so.2: cannot load shared object file: No such = file=20 >> or >> directory >>>>> >> >> i'm on YellowDog linux 2.1 (a redhat 7 clone for mac) with OpenLDAP = 2.0. >> 18 >> and Python2.1.2. the messages from setup.py build and setup.py = compile=20 >> did >> not contain any errors during compilation. >> >> is it just my setup or is there a problem? this worked fine with the >> previous release candidate you put on the sourceforge file list. > > This seems to be a problem with your OpenLDAP 2 shared libs. Check > shared libs with > > $ ldd [Python lib dir]/site-packages/_ldap.so > > Make sure you have either configured /etc/ld.so.conf (invoke > ldconfig after modifications) to contain directory lib/ of your > local OpenLDAP 2 installation or set LD_LIBARY_PATH accordingly. > > If that does help since your on Mac architecture there might be > other subtle problems I don't know of. > > Ciao, Michael. |
|
From: Michael <mi...@st...> - 2002-02-01 13:41:01
|
Jens Vagelpohl wrote: > > i'm getting this: > > >>> import ldap > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/local/lib/python2.1/site-packages/ldap/__init__.py", line 5, > in ? > from _ldap import * > ImportError: liblber.so.2: cannot load shared object file: No such file or > directory > >>> > > i'm on YellowDog linux 2.1 (a redhat 7 clone for mac) with OpenLDAP 2.0.18 > and Python2.1.2. the messages from setup.py build and setup.py compile did > not contain any errors during compilation. Sorry, I ran into a hen-and-egg problem: I wanted to avoid having to set the version number in two soures (setup.py and Lib/ldap/__init__.py). But one cannot import module ldap without installed _ldap before. :-( Please, check out new Python-LDAP 2.0.0pre03 which does not have this problem. Might take a while before it shows up. Grr, SF's file release system really sucks. Ciao, Michael. |
|
From: Jens V. <je...@zo...> - 2002-02-01 15:03:10
|
i don't quite follow you on this, it seemed to work fine on pre02... :) pre03 compiles and works fine, too. (running on RH7.2, OpenLDAP 2.0.21,=20= python2.1.2) jens On Friday, February 1, 2002, at 08:40 , Michael Str=F6der wrote: > > Sorry, I ran into a hen-and-egg problem: I wanted to avoid having to > set the version number in two soures (setup.py and > Lib/ldap/__init__.py). But one cannot import module ldap without > installed _ldap before. :-( > > Please, check out new Python-LDAP 2.0.0pre03 which does not have > this problem. Might take a while before it shows up. Grr, SF's file > release system really sucks. > > Ciao, Michael. > > |
|
From: Michael <mi...@st...> - 2002-02-01 17:48:44
|
Jens Vagelpohl wrote: > > On Friday, February 1, 2002, at 08:40 , Michael Ströder wrote: > > > > Sorry, I ran into a hen-and-egg problem: I wanted to avoid having to > > set the version number in two soures (setup.py and > > Lib/ldap/__init__.py). But one cannot import module ldap without > > installed _ldap before. :-( > > i don't quite follow you on this, it seemed to work fine on pre02... :) It worked for you since you already had an installed python-ldap. But keep testing anyway. Ciao, Michael. |
|
From: Joe L. <jl...@op...> - 2002-02-01 20:30:07
|
I noticed something subtle that changed with the pre- releases. RPM and mos= t unix packages are case sensitive just as their unix underpinnings are. So, Python-LDAP does not upgrade against python-ldap.. Currently, for my next build, I will need to explicitly target source files and still generat= e python-ldap-<blah>.rpm --- Do you want to a) break upgrade paths and keep the new name or b) revert back to the original name On 2/1/02 4:36 AM, "Michael Str=F6der" <mi...@st...> wrote: > HI! >=20 > Another pre-release version of python-ldap is available at >=20 > http://sourceforge.net/project/showfiles.php?group_id=3D2072 >=20 > Please test! >=20 > Ciao, Michael. >=20 > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
|
From: Michael <mi...@st...> - 2002-02-02 11:18:25
|
Joe Little wrote: > > I noticed something subtle that changed with the pre- releases. RPM and most > unix packages are case sensitive just as their unix underpinnings are. > > So, Python-LDAP does not upgrade against python-ldap.. Currently, for my > next build, I will need to explicitly target source files and still generate > python-ldap-<blah>.rpm --- Do you want to IMHO David chose "Python-LDAP" for whatever reason. You didn't use DistUtils to build your RPM before, did you? > b) revert back to the original name No problem, I've commited setup.py with package name being set to "python-ldap". I'm also feeling more comfortable with this. Ciao, Michael. |
|
From: Joe L. <jl...@op...> - 2002-02-02 15:33:57
|
I did use distutils. Until the 2.0.0pre series, including CVS, it called itself "python-ldap". On 2/2/02 3:17 AM, "Michael Str=F6der" <mi...@st...> wrote: > Joe Little wrote: >>=20 >> I noticed something subtle that changed with the pre- releases. RPM and = most >> unix packages are case sensitive just as their unix underpinnings are. >>=20 >> So, Python-LDAP does not upgrade against python-ldap.. Currently, for my >> next build, I will need to explicitly target source files and still gene= rate >> python-ldap-<blah>.rpm --- Do you want to >=20 > IMHO David chose "Python-LDAP" for whatever reason. You didn't use > DistUtils to build your RPM before, did you? >=20 >> b) revert back to the original name >=20 > No problem, I've commited setup.py with package name being set to > "python-ldap". I'm also feeling more comfortable with this. >=20 > Ciao, Michael. >=20 > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |