[Lazarus] Dependencies in XUbuntu 13.10
"Leonardo M. Ramé"
l.rame at griensu.com
Sun Mar 30 04:41:52 CEST 2014
On 29/03/14 17:25, "Leonardo M. Ramé" wrote:
> 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
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list