Plot print problem
Ben Abbott
bpabbott at mac.com
Tue May 5 06:03:28 CDT 2009
On May 5, 2009, at 2:56 AM, Francesco Potorti` wrote:
>>> In trying to do a local update to gnuplot 4.2, yum complains it
>>> cannot
>>> find libc.so.6. But ldconfig -p does find ibc.so.6., even an x86_64
>>> version. (see below)
>
>>> ______________________snip__________________________
>>>
>>> root at gaia gnuplot]# yum localupdate gnuplot-4.2.0-7.fc8.x86_64.rpm
>>> Loaded plugins: fastestmirror, kernel-module
>>> ...
>>> Examining gnuplot-4.2.0-7.fc8.x86_64.rpm: gnuplot-4.2.0-7.fc8.x86_64
>>> Marking gnuplot-4.2.0-7.fc8.x86_64.rpm as an update to
>>> gnuplot-4.0.0-14.el5.x86_64
>>> ...
>>> Resolving Dependencies
>>> There are unfinished transactions remaining. You mightconsider
>>> running
>>> yum-complete-transaction first to finish them.
>>> --> Running transaction check
>>> ---> Package gnuplot.x86_64 0:4.2.0-7.fc8 set to be updated
>>> --> Processing Dependency: libc.so.6(GLIBC_2.7)(64bit) for
>>> package: gnuplot
>>> --> Finished Dependency Resolution
>>> gnuplot-4.2.0-7.fc8.x86_64 from gnuplot-4.2.0-7.fc8.x86_64.rpm has
>>> depsolving problems
>>> --> Missing Dependency: libc.so.6(GLIBC_2.7)(64bit) is needed by
>>> package gnuplot-4.2.0-7.fc8.x86_64 (gnuplot-4.2.0-7.fc8.x86_64.rpm)
>>> Error: Missing Dependency: libc.so.6(GLIBC_2.7)(64bit) is needed by
>>> package gnuplot-4.2.0-7.fc8.x86_64 (gnuplot-4.2.0-7.fc8.x86_64.rpm)
>>> [root at gaia gnuplot]#
>>>
>>> but
>>>
>>> [root at gaia gnuplot]# ldconfig -p | grep libc.so.6
>>> libc.so.6 (libc6,x86-64, OS ABI: Linux 2.6.9) =>
>>> /lib64/libc.so.6
>>> libc.so.6 (libc6, hwcap: 0x0018000000000000, OS ABI: Linux
>>> 2.6.9) => /lib/i686/nosegneg/libc.so.6
>>> libc.so.6 (libc6, OS ABI: Linux 2.6.9) => /lib/libc.so.6
>
>> I downloaded gnuplot from here:
>>
>> <http://sourceforge.net/project/showfiles.php?group_id=2055>
>>
>> I put the (unzipped) file in /usr/local/bin, then typed
>>
>> ./configure
>> make CC=gcc-3.3
>> sudo make install
>
> This is good, but the original poster wanted to install Gnuplot
> using a
> prepackaged bundle (a "package") for its system, which happens to be
> in
> .rpm format. Sorry, I cannot give precise advice here, I use Debian,
> which has a different (.deb) package format, but I'll try to guess:
>
> 1) the messages say you should run `yum-complete-transaction' first.
> Why did you not do that?
>
> 2) apparently the packaged gnuplot 4.2 requires glibc 2.7. Try to
> understand what version of libc you have installed. For example, if
> you have 2.6 installed, the problem is that's too old and you need
> to
> upgrade it. If that's the case, instead of upgrading libc you may
> try another, more risky, option first: tell yum (I don't know if
> that's possible, as I do not know yum) to ignore the version
> dependency and install gnuplot as it is: if you are lucky it will
> work nonetheless.
>
John,
To get a better idea of what is meant by a "package" you can check out
Fink. It descends from Debian and runs on Mac OSX.
http://www.finkproject.org/
If you're interested in using a package management system, you should
check out macports as well.
http://trac.macports.org/wiki
Ben
More information about the Help-octave
mailing list