Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-03

Dependencies in XUbuntu 13.10

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

I'm trying to compile trunk in a newly installed XUbuntu 13.10, but I'm stuck because of lacking dependencies.

Do you know which packages I have to install to met those dependencies?.

Here's the output o the linking step:

...
Target OS: Linux for x86-64
Compiling lazarus.pp
Compiling resource ../units/x86_64-linux/gtk2/lazarus.or Linking ../lazarus
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -latk-1.0

Regards,

Reply by email

Leonardo M. Ramé
to Leonardo M. Ramé
"Leonardo M. Ram?" wrote 26 lines
I'm trying to compile trunk in a newly installed XUbuntu 13.10, but I'm stuck because of lacking dependencies. Do you know which packages I have to install to met those dependencies?. Here's the output o the linking step: ... Target OS: Linux for x86-64 Compiling lazarus.pp Compiling resource ../units/x86_64-linux/gtk2/lazarus.or Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lgdk_pixbuf-2.0 /usr/bin/ld: cannot find -lgtk-x11-2.0 /usr/bin/ld: cannot find -lgdk-x11-2.0 /usr/bin/ld: cannot find -lgobject-2.0 /usr/bin/ld: cannot find -lglib-2.0 /usr/bin/ld: cannot find -lgthread-2.0 /usr/bin/ld: cannot find -lgmodule-2.0 /usr/bin/ld: cannot find -lpango-1.0 /usr/bin/ld: cannot find -lcairo /usr/bin/ld: cannot find -latk-1.0 Regards,

Actually the packages were installed, but with newer versions, so I did a couple of dirty symnlinks and it worked:

sudo ln -s /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 /usr/lib/x86_64-linux-gnu/libpango-1.0.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libcairo.so.2 /usr/lib/x86_64-linux-gnu/libcairo.so

Reply by email