[Mailman-Users] Problem with compilation under Solaris 9

Jean Berthold jean.berthold at eos-gd.ch
Thu Apr 17 16:00:38 CEST 2003


Hello Hans-Peter,

Many thanks !

I configured the library path with the crle command and python compile without
problems.

Thanks to all list members for your help and have a nice week-end !

Jean Berthold


Hans-Peter Zahno a écrit :

> Dear Jean,
>
> I had the same problem.
> You should check your library path (LD_LIBRARY_PATH) or add /usr/local/lib to
> the default library path. I used the 'crle' command, which creates the
> /var/ld/ld.config file.
> # crle  -u  -l /usr/local/lib
>
> Regards
> Hans-Peter
>
> Am Dienstag, 15. April 2003 10.26 schrieben Sie:
> > Hello,
> >
> > Now I tried to re-install Python from the sources.
> >
> > "./configure" seems working correctly
> >
> > but "./make" :
> >
> >                 Modules/python.o \
> >                 libpython2.2.a -lsocket -lnsl -ldl  -lpthread -lthread
> > -lm case $MAKEFLAGS in \
> > *-s*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall
> > -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
> > *) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall
> > -Wstrict-prototypes' ./python -E ./setup.py build;; \
> > esac
> > ld.so.1: ./python: fatal: libstdc++.so.5: open failed: No such file or
> > directory *** Error code 137
> > make: Fatal error: Command failed for target `sharedmods'
> >
> > if I try a find to locate this   libstdc++.so.5
> > root at vanuatu # find / -type f -exec grep "libstdc++.so.5" /dev/null {} \;
> > /var/sadm/install/contents:/usr/local/lib/libstdc++.so=libstdc++.so.5.0.0 s
> > none SMCgcc
> > /var/sadm/install/contents:/usr/local/lib/libstdc++.so.5=libstdc++.so.5.0.0
> > s none SMCgcc
> > /var/sadm/install/contents:/usr/local/lib/libstdc++.so.5.0.0 f none 0755
> > bin bin 8402256 43236 1030525336 SMCgcc
> > /var/sadm/install/contents:/usr/local/lib/sparcv9/libstdc++.so=libstdc++.so
> >.5.0.0 s none SMCgcc
> > /var/sadm/install/contents:/usr/local/lib/sparcv9/libstdc++.so.5=libstdc++.
> >so.5.0.0 s none SMCgcc
> > /var/sadm/install/contents:/usr/local/lib/sparcv9/libstdc++.so.5.0.0 f none
> > 0755 bin bin 5441032 32551 1030525394 SMCgcc
> > /usr/local/lib/libstdc++.la:dlname='libstdc++.so.5'
> > /usr/local/lib/libstdc++.la:library_names='libstdc++.so.5.0.0
> > libstdc++.so.5 libstdc++.so'
> > /usr/local/lib/sparcv9/libstdc++.la:dlname='libstdc++.so.5'
> > /usr/local/lib/sparcv9/libstdc++.la:library_names='libstdc++.so.5.0.0
> > libstdc++.so.5 libstdc++.so'
> >
> > My $PATH:
> > root at vanuatu # print $PATH
> > /usr/ccs/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sfw/sbi
> >n:/opt/sfw/bin:/usr/openwin/bin:/usr/dt/bin:/usr/apache/bin
> >
> > Is this path correct or do I need change it for including
> > /usr/local/lib/sparcv9 ?
> >
> > root at vanuatu # which gcc
> > /usr/local/bin/gcc
> > root at vanuatu # which python
> > /usr/local/bin/python
> > root at vanuatu # which apachectl
> > /usr/apache/bin/apachectl
> > root at vanuatu #
> >
> > I tried to change my path, unsuccessfully ...
> >
> > Usually, all libraries are automatically used by the system, Im right ?
> >
>
> > ________________________________
> >
> > Jean Berthold
> > EOS - energie ouest suisse
> > Chemin de Mornex 10 , CP 570
> > CH-1001 Lausanne , Switzerland
> > Tel. : +41 (0)21 341 24 58
> > Fax  : +41 (0)21 341 20 49
> > E-Mail : jean.berthold at eos-gd.ch
> > ________________________________
> >
> >
> >   ...Unix is like a wigwam - no windows, no gates, apache inside...
>
> --
> ------------------------------------------------------------------------
> Hans-Peter Zahno                      | mailto:Hans-Peter.Zahno at unifr.ch
> Universitaet Freiburg/Informatikdienst|        Phone: +41(0)26 300 72 07
> av. de l'Europe 20                    |          Fax: +41(0)26 300 97 04
> CH-1700 Freiburg - Switzerland        |              http://www.unifr.ch

--
________________________________

Jean Berthold
EOS - energie ouest suisse
Chemin de Mornex 10 , CP 570
CH-1001 Lausanne , Switzerland
Tel. : +41 (0)21 341 24 58
Fax  : +41 (0)21 341 20 49
E-Mail : jean.berthold at eos-gd.ch
________________________________


  ...Unix is like a wigwam - no windows, no gates, apache inside...





More information about the Mailman-Users mailing list