Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127185 - gnuplot and Modular X
Summary: gnuplot and Modular X
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Grant Goodyear (RETIRED)
URL:
Whiteboard:
Keywords:
: 127764 156919 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-22 06:27 UTC by Stefano D'Angelo
Modified: 2006-12-02 08:14 UTC (History)
4 users (show)

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 Stefano D'Angelo 2006-03-22 06:27:58 UTC
gnuplot should depend on libXaw when linking against Modular X, since libXaw is not installed when emerging xorg-x11-7.0-r1 package.
Comment 1 solar (RETIRED) gentoo-dev 2006-03-22 07:53:06 UTC
Stefano, please only assign bugs to the dev-portage team when you have found a bug 
in sys-apps/portage itself. 

I'll reassign this one to the proper maintainer as this appears to not be 
related to sys-apps/portage in any such way.
Comment 2 Stefano D'Angelo 2006-03-22 08:29:28 UTC
oops sorry, I'm not very good at english, so I got confused :)
Comment 3 Stefano D'Angelo 2006-03-25 06:19:11 UTC
Ok... gnuplot actually looks for libXaw.so.8 when compiling, but Modular X just installs the libXaw.so.6 and libXaw.so.7. I got it running making a symlink. However this doesn't look like the way to go according to me, and, since I'm not very skilled with autotools, I can't give you any more suggestion.
Comment 4 Bas van Dijk 2006-03-27 11:15:49 UTC
*** Bug 127764 has been marked as a duplicate of this bug. ***
Comment 5 Tiago 2006-07-02 07:41:18 UTC
This still happens now that modular X went stable for x86:


../src/gnuplot: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory
make[2]: *** [eg1.tex] Error 127
make[2]: *** Waiting for unfinished jobs....
../src/gnuplot: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory
make[2]: *** [eg2.tex] Error 127
make[2]: Leaving directory `/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/tutorial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0'
make: *** [all] Error 2

!!! ERROR: sci-visualization/gnuplot-4.0-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  gnuplot-4.0-r1.ebuild, line 68:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


Any plans for fixing it (apart from the symlink kludge suggested by Stefano?)
Comment 6 Grant Goodyear (RETIRED) gentoo-dev 2006-07-11 19:29:20 UTC
libXaw is now a dep, so that problem should be fixed.

As for linking to the wrong version of libXaw.so, I can't reproduce it.  Is it possible that there's crufty libXaw stuff on your system still?
Comment 7 Stefano D'Angelo 2006-07-12 03:37:51 UTC
Here's how it works for me:

Zanga stefano # emerge --search libXaw
Searching...
[ Results for search key : libXaw ]
[ Applications found : 1 ]

*  x11-libs/libXaw
      Latest version available: 1.0.2
      Latest version installed: 1.0.2
      Size of files: 511 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org Xaw library
      License:       libXaw


Zanga stefano # ls /usr/lib/libXaw* -l
-rw-r--r-- 1 root root 583566 19 mag 16:47 /usr/lib/libXaw6.a
-rw-r--r-- 1 root root    961 19 mag 16:47 /usr/lib/libXaw6.la
lrwxrwxrwx 1 root root     16 19 mag 16:47 /usr/lib/libXaw6.so -> libXaw6.so.6.0.1
lrwxrwxrwx 1 root root     16 19 mag 16:47 /usr/lib/libXaw6.so.6 -> libXaw6.so.6.0.1
-rwxr-xr-x 1 root root 360016 19 mag 16:47 /usr/lib/libXaw6.so.6.0.1
-rw-r--r-- 1 root root 802476 19 mag 16:47 /usr/lib/libXaw7.a
-rw-r--r-- 1 root root    982 19 mag 16:47 /usr/lib/libXaw7.la
lrwxrwxrwx 1 root root     16 19 mag 16:47 /usr/lib/libXaw7.so -> libXaw7.so.7.0.0
lrwxrwxrwx 1 root root     16 19 mag 16:47 /usr/lib/libXaw7.so.7 -> libXaw7.so.7.0.0
-rwxr-xr-x 1 root root 498648 19 mag 16:47 /usr/lib/libXaw7.so.7.0.0
lrwxrwxrwx 1 root root     10 19 mag 16:47 /usr/lib/libXaw.so -> libXaw7.so
lrwxrwxrwx 1 root root     12 19 mag 16:47 /usr/lib/libXaw.so.6 -> libXaw6.so.6
lrwxrwxrwx 1 root root     12 19 mag 16:47 /usr/lib/libXaw.so.7 -> libXaw7.so.7
lrwxrwxrwx 1 root root     16 22 mar 16:02 /usr/lib/libXaw.so.8 -> libXaw7.so.7.0.0
Zanga stefano # rm  /usr/lib/libXaw.so.8
Zanga stefano # gnuplot
gnuplot: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory
Zanga stefano # ln  -sf /usr/lib/libXaw.so.7 /usr/lib/libXaw.so.8
Zanga stefano # gnuplot

        G N U P L O T
        Version 4.0 patchlevel 0
        last modified Thu Apr 15 14:44:22 CEST 2004
        System: Linux 2.6.16-gentoo-r9

[...]

(the symlink that I remove is the one I once created)
Comment 8 Tiago 2006-07-12 05:19:12 UTC
It works for me now (after re-emerging gnuplot):

tjgq@trillian:~$ gnuplot

        G N U P L O T
        Version 4.0 patchlevel 0
        last modified Thu Apr 15 14:44:22 CEST 2004
        System: Linux 2.6.16-gentoo-r12
        (...)

and it does link to the "right" libXaw version:

tjgq@trillian:~$ ldd /usr/bin/gnuplot | grep Xaw
        libXaw.so.7 => /usr/lib/libXaw.so.7 (0xb7926000)

So for me, problem is solved :) Thanks.
Comment 9 John Bartoszewski 2006-08-26 23:00:18 UTC
config.log:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libXaw.so.8, needed by /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libplot.so, not found (try using -rpath or -rpath-link)

emerge plotutils
emerge gnuplot
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-12-02 08:14:13 UTC
*** Bug 156919 has been marked as a duplicate of this bug. ***