Re: [Cpu-users] Compile Errors
Brought to you by:
matheny
From: Blake M. <bma...@pu...> - 2003-04-09 19:46:53
|
When you compile cpu, you need to specify what modules you would like to compile. In your case, you would want to do the following: ./configure --with-ldap <any other options> in order to compile the LDAP module. A couple of people have had issues with this, so I'll probably just do autodetection in the future (if at configure time we can find the libldap* libraries, we'll compile the ldap module, etc.). -Blake sup...@su... wrote: > This is an old problem I had written to you about awhile ago. I haven't > had time to play with it since until today. I'm still getting these > errors after cheching my /etc/ld.so.conf and running ldconfig. When I > list the contents of /usr/local/lib, I notice the file in question does > not even exist. Here is the output: > > dually:/stuff/cpu-1.3.99a# cpu > CPU_loadLibrary: dlopen(libcpu_ldap.so, RTLD_NOW) failed. > CPU_loadLibrary: libcpu_ldap.so: cannot open shared object file: No such > file or directory > There was an error loading the ldap library. Exiting. > dually:/stuff/cpu-1.3.99a# ls /usr/local/lib > libcputil.a libdb.so libldap.so.2.0.111 > libcputil.la liblber.a libldap_r.a > libcputil.so liblber.la libldap_r.la > libcputil.so.0 liblber.so libldap_r.so > libcputil.so.0.0.0 liblber.so.2 libldap_r.so.2 > libdb-4.0.a liblber.so.2.0.111 libldap_r.so.2.0.111 > libdb-4.0.la libldap.a php.ini > libdb-4.0.so libldap.la python2.1 > libdb-4.so libldap.so site_ruby > libdb.a libldap.so.2 > dually:/stuff/cpu-1.3.99a# > > Any more suggestions? > > Ben > > >>It looks like your email client has a bug. It is setting mimetype to >>$email_type which standard mail clients won't know about. In any case, >>CPU uses dynamically loadable libraries for various reasons. You will >>need to do one of two things: >> >>a.) Set LD_LIBRARY_PATH environmental variable to the library path. For >> instance if you installed cpu in /usr/local/bin for the bash shell >>you would do: export LD_LIBRARY_PATH=/usr/local/lib. This is >>appropriate when you have installed it in your home directory (in >>which case >> LD_LIBRARY_PATH would be set to $HOME/lib) >>b.) If it is installed system wide, edit your /etc/ld.so.conf file and >>make >> sure that /usr/local/lib (or wherever the cpu libs are installed). >>You will then need to run 'ldconfig' to add the libraries to the >>system cache >> >>The looks of below tell me it is installed system wide, in which case if >>you simply did a './configure --with-ldap && make && make install' just >>running ldconfig should be adequate, assuming that "/usr/local/lib" is >>already in your /etc/ld.so.conf file. This is a pretty common error >>(unfortunately) when using loadable libraries, I'll have to put a hack >>in so that the install location is automatically added to the search >>path of the dl() calls. >> >>-Blake >> >>Whatchu talkin' 'bout, Willis? >> >>>My apologies on the email formatting. I've turned of HTML formatting >>>so this should look nicer. >>> >>>Anyhow, I've successfully compiled and installed CPU, but now get the >>>following when I simply enter in the command 'cpu' (no arguments): >>> >>>dually:~# cpu >>>CPU_loadLibrary: dlopen(libcpu_ldap.so, RTLD_NOW) failed. >>>CPU_loadLibrary: libcpu_ldap.so: cannot open shared object file: No >>>such file or directory >>>There was an error loading the ldap library. Exiting. >>>dually:~# >>> >>>Any ideas? >>> >>>Ben >> >>-- >>Blake Matheny "... one of the main causes of the fall of the >>bma...@pu... Roman Empire was that, lacking zero, they had >>http://www.dbaseiv.net no way to indicate successful termination of >>http://ovmj.org/GNUnet/ their C programs." --Robert Firth >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by:Crypto Challenge is now open! >>Get cracking and register here for some mind boggling fun and >>the chance of winning an Apple iPod: >>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >>_______________________________________________ >>Cpu-users mailing list >>Cpu...@li... >>https://lists.sourceforge.net/lists/listinfo/cpu-users > > > > |