[GiNaC-list] Problem with linking ginac

Sheplyakov Alexei varg at theor.jinr.ru
Sun Nov 5 13:38:30 CET 2006


Hi,

On Sat, Nov 04, 2006 at 07:05:53PM -0500, aravind b wrote:

> I am using quantian *0.7.9.2 *live dvd and i am a total newbie to linux. I
> am really unable to use ginac.
> Firstly, locate ginac-config doesnt give any results.
> whereas locate ginac gives:
> 
> *locate: warning: database `/var/cache/locate/locatedb' is more than 8 days
> old
> /usr/lib/libginac-1.3.so.2
> /usr/lib/libginac-1.3.so.2.1.0
> /usr/share/doc/ginac-tools
> /usr/share/doc/ginac-tools/AUTHORS
> /usr/share/doc/ginac-tools/changelog.Debian.gz
> /usr/share/doc/ginac-tools/changelog.gz
> /usr/share/doc/ginac-tools/copyright
> /usr/share/doc/ginac-tools/NEWS.gz
> /usr/share/doc/ginac-tools/README
> /usr/share/doc/libginac1.3c2a
> /usr/share/doc/libginac1.3c2a/AUTHORS
> /usr/share/doc/libginac1.3c2a/changelog.Debian.gz
> /usr/share/doc/libginac1.3c2a/changelog.gz
> /usr/share/doc/libginac1.3c2a/copyright
> /usr/share/doc/libginac1.3c2a/NEWS.gz
> /usr/share/doc/libginac1.3c2a/README
> /usr/share/menu/ginac-tools
> /usr/share/pixmaps/ginac.xpm
> /var/lib/dpkg/info/ginac-tools.list
> /var/lib/dpkg/info/ginac-tools.md5sums
> /var/lib/dpkg/info/ginac-tools.postinst
> /var/lib/dpkg/info/ginac-tools.postrm
> /var/lib/dpkg/info/libginac1.3c2.list
> /var/lib/dpkg/info/libginac1.3c2.postrm
> /var/lib/dpkg/info/libginac1.3c2a.list
> /var/lib/dpkg/info/libginac1.3c2a.md5sums
> /var/lib/dpkg/info/libginac1.3c2a.postinst
> /var/lib/dpkg/info/libginac1.3c2a.postrm
> /var/lib/dpkg/info/libginac1.3c2a.shlibs

It looks like libginac-dev package (which contains static library,
headers and ginac-config script) is not installed. You can check this
with

apt-cache policy libginac-dev

or 

dpkg -l libginac-dev 

 
> *Guys, please help me out here. How do i link ginac to my C++ code using  g++?

There is nothing special about GiNaC, proceed just like with any other C++
library out of there.

Best regards,
 Alexei.


-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20061105/1d91a380/attachment.pgp


More information about the GiNaC-list mailing list