Majian wrote:
I run the CentOS 5.3 i686 on my VirtulBox and the Host machine is CentOS 5.3 x86_64,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=389The same problem is happened on the two platform . BTM , I search the website and find this : http://forums.sun.com/thread.jspa?threadID=5150322
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@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx>> 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@xxxxxxxxx <mailto:okelet@xxxxxxxxx> <mailto:okelet@xxxxxxxxx <mailto:okelet@xxxxxxxxx>>> yum install perl-Mozilla-LDAP 2009/12/1 Majian <jiannma@xxxxxxxxx <mailto:jiannma@xxxxxxxxx> <mailto:jiannma@xxxxxxxxx <mailto:jiannma@xxxxxxxxx>>>: > 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@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@xxxxxxxxxx <mailto:389-users@xxxxxxxxxx> <mailto:389-users@xxxxxxxxxx <mailto:389-users@xxxxxxxxxx>> > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > -- 389 users mailing list 389-users@xxxxxxxxxx <mailto:389-users@xxxxxxxxxx> <mailto:389-users@xxxxxxxxxx <mailto:389-users@xxxxxxxxxx>> https://www.redhat.com/mailman/listinfo/fedora-directory-users ------------------------------------------------------------------------ -- 389 users mailing list 389-users@xxxxxxxxxx <mailto:389-users@xxxxxxxxxx> https://www.redhat.com/mailman/listinfo/fedora-directory-users -- 389 users mailing list 389-users@xxxxxxxxxx <mailto:389-users@xxxxxxxxxx> https://www.redhat.com/mailman/listinfo/fedora-directory-users ------------------------------------------------------------------------ -- 389 users mailing list 389-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
<<attachment: smime.p7s>>
-- 389 users mailing list 389-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users