From: deadlyhead <deadlyhead@gmail.com>
Subject: Issues building testgtk on Debian Lenny/Sid
Date: Wed, 3 Sep 2008 20:35:32 -0700 (PDT)
Date: 2008-09-03T20:35:32-07:00 [thread overview]
Message-ID: <e472c973-1c45-4d88-8d3a-435f82b9b885@q26g2000prq.googlegroups.com> (raw)
I'm learning GtkAda at the moment and currently I'm looking to build
testgtk. I've gotten through the compilation and binding stages, but
now on link I get the following:
gnatbind -aI/usr/share/ada/adainclude/gtkada2 -aO/usr/lib/adalib/
gtkada2 -I- -x /home/deadlyhead/temp/sources/GtkAda/testgtk/obj/
testgtk.ali
gnatlink /home/deadlyhead/temp/sources/GtkAda/testgtk/obj/testgtk.ali -
L/usr/lib -lgtkada2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -
lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -
lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -
lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -o /home/deadlyhead/temp/
sources/GtkAda/testgtk/testgtk
/usr/bin/ld: cannot find -lgtkada_gl
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc-4.3
gnatmake: *** link failed.
I feel like this should be dead simple, but honestly, I've never fully
understood how ld works. In /usr/lib, I have both libgtkada_gl.so.
2.12.0 and libgtkada_gl.a, plus all of the symlinks one would expect,
but ld just will not pick up on them. I've run ldconfig and
everything, but the error persists. I must be missing something here,
but I'm at a loss.
I'm currently using libgtkada2.12 from Debian Sid, with all of the
necessary libraries such as the mesa libs and libgtkada_gl2.12.
Everything that has a -dev package has had it installed. What could I
be missing?
next reply other threads:[~2008-09-04 3:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-04 3:35 deadlyhead [this message]
2008-09-04 7:53 ` Issues building testgtk on Debian Lenny/Sid deadlyhead
2008-09-04 8:25 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox