[389-users] About the 389 ds install error on CentOS i686
Rich Megginson
rmeggins at redhat.com
Wed Dec 2 03:31:49 UTC 2009
Majian wrote:
> I run the CentOS 5.3 i686 on my VirtulBox and the Host machine is
> CentOS 5.3 x86_64,
> The same problem is happened on the two platform .
>
> BTM ,
> I search the website and find this :
> http://forums.sun.com/thread.jspa?threadID=5150322
>
Ok. The problem is that perldap was compiled with perl 5.8 or perl 5.10,
and now the system is using perl 5.11, and the location of the perldap
files (e.g. /usr/lib/perl5/site_perl/5.8.8) is no longer in the default
perl search path. perldap needs to be rebuilt - please file a bug at
https://bugzilla.redhat.com/enter_bug.cgi?product=389
Weird, though, is that the Red Hat build of perl by default will look
for the older versions:
-R Disables the Red Hat module compatibility arch search path exten-
sion.
With -V:inc_version_list set, perl searches for previous versions’
instances of -V:sitelib and -V:vendorlib. Each of the directories
found is added to the default search patch @INC.
The Red Hat port of perl additionaly searches for previous ver-
sions’ instances of -V:sitearch and -V:vendorarch, to provide com-
patibility for binary modules installed under previous perl ver-
sions. To disable this Red Hat-specific extension, use -R.
what does rpm -ql perl-Mozilla-LDAP say?
In the meantime, you might try setting PERL5LIB - see "man perlrun" -
look for PERL5LIB
>
> On Wed, Dec 2, 2009 at 9:58 AM, Rich Megginson <rmeggins at redhat.com
> <mailto:rmeggins at redhat.com>> wrote:
>
> Majian wrote:
>
> Thanks ~
>
> But after I installed the perl-Mozilla-LDAP package ,the
> screen said "the package has been installed ".
>
>
>
> 2009/12/1 Juan Asensio Sánchez <okelet at gmail.com
> <mailto:okelet at gmail.com> <mailto:okelet at gmail.com
> <mailto:okelet at gmail.com>>>
>
>
> yum install perl-Mozilla-LDAP
>
> 2009/12/1 Majian <jiannma at gmail.com <mailto:jiannma at gmail.com>
> <mailto:jiannma at gmail.com <mailto:jiannma at gmail.com>>>:
>
> > Hi,all:
> >
> > Today I want to install the 389 directory server ,but I don't
> connect the
> > network,so I can't install it via yum command .
> >
> > So i install it via install some rpm packages of the 389-ds
> from the"
> >
> http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/"
> > and run the "rpm -ivh xxx" in my terminal .
> >
> > But when I run "setup-ds-admin.pl <http://setup-ds-admin.pl>
> <http://setup-ds-admin.pl>"
>
> ,the screen displays the following
> > error:
> >
> >
> > [root at foo bin]# setup-ds-admin.pl <http://setup-ds-admin.pl>
> <http://setup-ds-admin.pl>
>
> > Can't locate Mozilla/LDAP/Conn.pm in @INC (@INC contains:
> > /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_
> > perl/5.11.1/i686-linux
> > /usr/local/lib/perl5/site_perl/5.11.1
> > /usr/local/lib/perl5/5.11.1/i686-linux
> /usr/local/lib/perl5/5.11.1 .) at
> > /usr/lib/dirsrv/perl/Setup.pm line 62.
> > BEGIN failed--compilation aborted at
> /usr/lib/dirsrv/perl/Setup.pm line 62.
> > Compilation failed in require at /usr/sbin/setup-ds-admin.pl
> <http://setup-ds-admin.pl>
> <http://setup-ds-admin.pl> line 24.
>
> > BEGIN failed--compilation aborted at
> /usr/sbin/setup-ds-admin.pl <http://setup-ds-admin.pl>
> <http://setup-ds-admin.pl> line 24.
>
> >
> >
> > Maybe is it the perl version error? BTM , my perl version is
> perl -5.11.1
>
>
> Yes, that's likely the problem. What platform are you running?
>
>
> >
> >
> > I search the Internet for a long time , but have no useful
> information about
> > it ~
> >
> > Could someone help me ?
> >
> > Thanks in advance ~
> >
> > --
> > 389 users mailing list
> > 389-users at redhat.com <mailto:389-users at redhat.com>
> <mailto:389-users at redhat.com <mailto:389-users at redhat.com>>
>
> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >
> >
>
> --
> 389 users mailing list
> 389-users at redhat.com <mailto:389-users at redhat.com>
> <mailto:389-users at redhat.com <mailto:389-users at redhat.com>>
>
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at redhat.com <mailto:389-users at redhat.com>
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
>
>
> --
> 389 users mailing list
> 389-users at redhat.com <mailto:389-users at redhat.com>
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20091201/266d5604/attachment.bin>
More information about the Fedora-directory-users
mailing list