[Wien] compilation error: missing libraries
Laurence Marks
L-marks at northwestern.edu
Tue Mar 4 00:31:43 CET 2008
None of your mkl libraries are there so unless LD_LIBRARAY_PATH is set
the shared libraries won't be found. (And beware that LD_LIBRARY_PATH
is not honored by some versions of the at command.) Rather than saying
"do this" I suggest that you do "man ldconfig", "man ld.so" and "man
ldd" which will give you all the information you need to set up what
you want.
On Mon, Mar 3, 2008 at 6:26 PM, Ricardo Faccio <rfaccio at fq.edu.uy> wrote:
> Dear Laurence
> I checked the /etc/ld.so.conf and it has this content:
> /usr/X11R6/lib64/Xaw3d
>
> /usr/X11R6/lib64
>
> /usr/lib64/Xaw3d
>
> /usr/X11R6/lib/Xaw3d
>
> /usr/X11R6/lib
>
> /usr/lib/Xaw3d
>
> /usr/x86_64-suse-linux/lib
>
> /usr/local/lib
>
> /opt/kde3/lib
>
> /lib64
>
> /lib
>
> /usr/lib64
>
> /usr/lib
>
> /usr/local/lib64
>
> /opt/kde3/lib64
>
> include /etc/ld.so.conf.d/*.conf
>
> The last line includes "graphviz.conf" which has this content:
>
> /usr/lib64/graphviz
>
> /usr/lib64/graphviz/sharp
>
> /usr/lib64/graphviz/java
>
> /usr/lib64/graphviz/perl
>
> /usr/lib64/graphviz/php
>
> /usr/lib64/graphviz/ocaml
>
> /usr/lib64/graphviz/python
>
> /usr/lib64/graphviz/lua
>
> /usr/lib64/graphviz/tcl
>
> /usr/lib64/graphviz/guile
>
> /usr/lib64/graphviz/ruby
>
> Does this look normal to you?
> Regards
> Ricardo
> -------------------------------------------------------------------------
> ----- Dr. Ricardo Faccio
>
> Mail: Cryssmat-Lab., Cátedra de Física, DETEMA
> Facultad de Química, Universidad de la República
> Av. Gral. Flores 2124, C.C. 1157
> C.P. 11800, Montevideo, Uruguay.
> E-mail: rfaccio at fq.edu.uy
> Phone: 598 2 9241860 Int. 109
> 598 2 9290705
> Fax: 598 2 9241906
> Web: http://cryssmat.fq.edu.uy/ricardo/ricardo.htm
> ----- Original Message -----
> From: "Laurence Marks" <L-marks at northwestern.edu>
> To: "A Mailing list for WIEN2k users" <wien at zeus.theochem.tuwien.ac.at>
> Sent: Monday, March 03, 2008 8:01 PM
> Subject: Re: [Wien] compilation error: missing libraries
>
>
> > Add -i-static -fminshared to avoid shared libraries. You may also needto
> > look at what you have in /etc/ld.so.conf
> >
> > On Mon, Mar 3, 2008 at 5:29 PM, Ricardo Faccio <rfaccio at fq.edu.uy> wrote:>
> > Dear Gerhard> All the settings that I choosed to compile have been
> > attached to this> email. On the other hand I am sending to the list the
> > tree of my MKL> installation.> As you can see all the paths seems to
> > be ok (I guess).> Please let me know what others thing should I check to
> > overcome this issue.> Best regards>
> > Ricardo>> ------------------------------------------------------------------------->
> > ----- Dr. Ricardo Faccio>> Mail: Cryssmat-Lab., Cátedra de Física,
> > DETEMA> Facultad de Química, Universidad de la República> Av.
> > Gral. Flores 2124, C.C. 1157> C.P. 11800, Montevideo, Uruguay.>
> > E-mail: rfaccio at fq.edu.uy> Phone: 598 2 9241860 Int. 109>
> > 598 2 9290705> Fax: 598 2 9241906> Web:
> > http://cryssmat.fq.edu.uy/ricardo/ricardo.htm> ----- Original
> > Message -----> From: "Gerhard Fecher" <fecher at uni-mainz.de>> To: "A
> > Mailing list for WIEN2k users" <wien at zeus.theochem.tuwien.ac.at>> Sent:
> > Monday, March 03, 2008 5:23 PM> Subject: Re: [Wien] compilation error:
> > missing libraries>>> > Did you set LD_LIBRARY_PATH correctly ?> >> >
> > Gerhard> > ________________________________________> > Von:
> > wien-bounces at zeus.theochem.tuwien.ac.at> >
> > [wien-bounces at zeus.theochem.tuwien.ac.at] im Auftrag von Ricardo Faccio>
> > > [rfaccio at fq.edu.uy]> > Gesendet: Montag, 3. März 2008 19:50> > An:
> > wien at zeus.theochem.tuwien.ac.at> > Betreff: [Wien] compilation error:
> > missing libraries> >> > Dear Wien2k users:> >> > I'm trying to
> > compile WIEN2k in a dell pc-desktop:> > Core 2 Duo processor Intel(R)
> > Core(TM)2 CPU 6420 @ 2.13GHz> > 2 Gb RAM> > OpenSuse 10.3, x86-64 bit>
> > > I've installed the following programs an libraries:> >
> > #######################> > /opt/intel/fce/10.1.012> >
> > /opt/intel/mkl/9.1.023/> > #######################> > I've choose the
> > following OPTIONS in siteconfig> >
> > ######################################################################################>
> > > current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -O3 -xT>
> > > current:FPOPT:-FR -mp1 -w -prec_div -pc80 -xT -pad -ip -DINTEL_VML^M> >
> > current:LDFLAGS:$(FOPT) -L/opt/intel/fce/10.1.012/lib -lguide -lpthread>
> > > current:DPARALLEL:'-DParallel'^M> >
> > current:R_LIBS:-L/opt/intel/mkl/9.1.023/lib/em64t -lmkl_lapack -lmkl_em64t>
> > > current:RP_LIBS:-L /usr/local/SCALAPACK -L> >
> > /usr/local/BLACS/LIB -lpblas -lredist -ltools -lscalapack -lfblacs -lblacs>
> > > -lmpi^M> >
> > ######################################################################################>
> > >> > After a successfully compilation, the lapw1 crashes when it is
> > executed in> > normal conditions. The program stops with the following
> > error:> >> >
> > ######################################################################################>
> > > /home/ricardo/WIEN2k/lapw1: error while loading shared libraries:> >
> > libmkl_lapack.> > so: cannot open shared object file: No such file or
> > directory> >
> > ######################################################################################>
> > >> > I tried so many options, but for some reason there is something
> > missing in> > the path and I can't fix it.> > It is clear from the
> > OPTIONS that the PATH is correct, and all the> > libraries are located in
> > such a folder.> > Any hint?> >> > Best regards> > Ricardo> >>
> > > ------------------------------------------------------------------------->
> > > ----- Dr. Ricardo Faccio> >> > Mail: Cryssmat-Lab., Cátedra de
> > Física, DETEMA> > Facultad de Química, Universidad de la República> >
> > Av. Gral. Flores 2124, C.C. 1157> > C.P. 11800, Montevideo,
> > Uruguay.> > E-mail: rfaccio at fq.edu.uy<mailto:rfaccio at fq.edu.uy>> >
> > Phone: 598 2 9241860 Int. 109> > 598 2 9290705> > Fax:
> > 598 2 9241906> > Web: http://cryssmat.fq.edu.uy/ricardo/ricardo.htm> >
> > _______________________________________________> > Wien mailing list> >
> > Wien at zeus.theochem.tuwien.ac.at> >
> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien> >> >> > --> >
> > No virus found in this incoming message.> > Checked by AVG Free Edition.>
> > > Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date:> >
> > 03/03/2008 10:01> >> >>>
> > _______________________________________________> Wien mailing list>
> > Wien at zeus.theochem.tuwien.ac.at>
> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien>>
> >
> >
> > -- Laurence MarksDepartment of Materials Science and EngineeringMSE Rm
> > 2036 Cook Hall2220 N Campus DriveNorthwestern UniversityEvanston, IL
> > 60208, USATel: (847) 491-3996 Fax: (847) 491-7820email: L-marks at
> > northwestern dot eduWeb: www.numis.northwestern.eduCommission on Electron
> > Diffraction of
> > IUCRwww.numis.northwestern.edu/IUCR_CED_______________________________________________Wien
> > mailing
> > listWien at zeus.theochem.tuwien.ac.athttp://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date:
> > 03/03/2008 10:01
> >
> >
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
--
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60208, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L-marks at northwestern dot edu
Web: www.numis.northwestern.edu
Commission on Electron Diffraction of IUCR
www.numis.northwestern.edu/IUCR_CED
More information about the Wien
mailing list