Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100105 - GDAL doesnt't work with +grass and unsetting LD_LIBRARY_PATH (sci-geosciences/grass-6.0.0-r1, sci-libs/gdal-1.2.6)
Summary: GDAL doesnt't work with +grass and unsetting LD_LIBRARY_PATH (sci-geosciences...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 03:54 UTC by Gabriel Ebner
Modified: 2005-07-24 18:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Ebner 2005-07-24 03:54:44 UTC
When I tried to use gdal in a mod_python handler, gdal couldn't be loaded 
because libgrass_I.so couldn't be found.  Apparently grass sets 
LD_LIBRARY_PATH instead of LDPATH in /etc/env.d/99grass (don't know whether 
that's intentional or not) and apache forgets all environment variables before 
loading... 
 
I have solved that here be changing LD_LIBRARY_PATH to LDPATH, so 
that /usr/grass60/lib gets appended to /etc/ld.so.conf 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.12.1 x86_64) 
================================================================= 
System uname: 2.6.12.1 x86_64 AMD Opteron(tm) Processor 244 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O3 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict unsermake" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub  http://gentoo.blueyonder.co.uk 
http://ftp.ntua.gr/pub/linux/gentoo/" 
LANG="de_AT.utf8" 
LINGUAS="de" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="amd64 16bit X a52 aac aalib accessibility acl acpi ada aim aio alsa 
apache2 applet ared aredmem arts async atlas auctex audiofile avi 
ba-completion bash-completion bcmath bdf beep berkdb bidi bitmap-fonts blas 
bluetooth bonobo boo bzip2 bzlib c++ cairo calendar camaelon cap caps cdda 
cddb cdf cdio cdparanoia cdr cdrom cgi chroot cjk client clisp cln crypt 
cscope css csv ctype cups curl curlwrappers dba dbase dbi dbm dbus dbx dga 
dillo dio directfb djbfft dlopen dnd dnsdb doc dpms droproot dts dv dvd dvdr 
dvdread edl eds emacs emul-linux emul-linux-x86 encode enscript erandom 
escreen estraier ethereal etwin exif f77 faac faad fam fame fastcgi fb fbcon 
fbdev festival ffmpeg fftw finger fits fla flac flatfile flexresp flood 
fluidsynth fmod font-server foomaticdb fortran fpx freetts freetype 
frlargefiles ftp gb gcj gd gdbm geoip geos gif gimp gimpprint ginac gkrellm 
glade glep glgd glitz glut gmp gmtfull gmthigh gmtsuppl gmttria gnokii gnuplot 
gpgme gphoto2 gps graphviz grass gs gsl gstreamer gtk gtk2 gtkhtml guile hal 
haskell hdf hdf5 hlapi howl html http httpd icecast icon iconv icq icu ide idn 
ieee1394 image imagemagick imlib imlib2 inifile intl ipv6 irda ithreads jabber 
javascript jbig jikes jp2 jpeg jpeg2k junit kde kdeenablefinal kdepim 
kig-scripting kipi koffice-plugin ladcca ladspa lame lapack largeterminal 
latex layout-osx-like lcms ldb lesstif libcaca libdsk libsamplerate live 
logitech-mouse logrotate lua lzo lzw lzw-tiff mad mailbox maildir maildrop 
mailwrapper makecheck mapeditor maps math matroska mbox mbrola mcal md5sum mdb 
mha mhash mime mimencode ming mixer mjpeg mmap mng motif mozdevelop 
moznocompose moznoirc moznomail mozsvg mozxmlterm mp4live mpeg mpeg2 mpeg4 
mplayer msn multi-tty mythtv ncurses netcdf network nls nntp no-old-linux 
no_wxgtk1 nodrm nomotif nptl nptlonly nsplugin ntlm numarray numeric nviz objc 
ocaml ogg oggvorbis on-the-fly-crypt opengl openssl opie oscar pam pango 
pascal pcap pcntl pcre pda pdf pdflib perl pheaders php pic pie plotutils 
plugin png pnp posix povray ppds print priority private proj pthreads python 
qhull qt quicktime readline real recode reiserfs rtc ruby samba scanner sdl 
sendfile serial session slang smime smp sms sndfile snmp soap sockets softmmu 
sox speex spell spl sql sqlite ssl startup-notification stats stream stroke 
subp subtitles subversion svg svgz sysfs syslog sysvipc szip t1lib tabs tcltk 
tcpmd5 tcsim tetex tga theora threads thumbnail tidy tiff tokenizer tpctlir 
transcode translator truetype truetype-fonts type1-fonts uml unicode usb 
userlocales utf8 v4l v4l2 vcd vcdimager vim visualization vlm vnc vorbis wifi 
wmf wxwin wxwindows xanim xattr xchatdccserver xface xine xinerama xml xml2 
xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz yv12 
zeroconf zlib zvbi linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Steve Arnold archtester gentoo-dev 2005-07-24 18:23:34 UTC
Okay, seems to work on this end...