On Wed, 1 Mar 2006, Uwe Grauer wrote:

> Michael Van Canneyt wrote:
> >
> >
> > On Wed, 1 Mar 2006, Uwe Grauer wrote:
> >
> >> Uwe Grauer wrote:
> >>> Mattias Gaertner wrote:
> >>>> On Mon, 27 Feb 2006 15:24:50 +0100
> >>>> Uwe Grauer <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>> Do i really need to have a gtk1-dev-package to compile lazarus?
> >>>>> Opensuse has full gtk2-support. I don't want to mess up my system
> >>>>> just to compile lazarus.
> >>>>> What can i do?
> >>>> gtk1 and gtk2 lives happily together. They don't share anything.
> >>>> Installing
> >>>> any gtk1 part should not mess up any gtk2 installation.
> >>>>
> >>>> Maybe you got confused by the --force option, you need to install
> >>>> the lazrus
> >>>> fedora rpm on suse. If you don't want to use the --force option, do not
> >>>> install the rpm. Download the lazarus tgz, extract it and do 'make'
> >>>> to build
> >>>> it. Lazarus does not need any special directory name. The only
> >>>> executable
> >>>> are 'lazarus' and startlazarus.
> >>>>
> >>>> Mattias
> >>>>
> >>>
> >>> Ok, i installed gtk-devel-1.2.10
> >>>
> >>> Now i get:
> >>> make
> >>> ...
> >>> Target OS: Linux for i386
> >>> Compiling lazarus.pp
> >>> Linking ../lazarus
> >>> /usr/bin/ld: cannot find -lgdk
> >>> lazarus.pp(113,1) Error: Error while linking
> >>> make[2]: *** [lazarus] Error 1
> >>> ...
> >>>
> >>> Any hint?
> >>> I have /opt/gnome/lib/libgdk-1.2.so.0 .
> >>> What am i missing?
> >>>
> >>> Thanks,
> >>>     Uwe
> >>>
> >>>
> >>
> >> Any help on this, please?
> >
> > 1. There should be a link with filename ending on .so:
> >
> >    /opt/gnome/lib/libgdk-1.2.so  -> /opt/gnome/lib/libgdk-1.2.so.0
> >
> >    if this isn't there, the devel packages was not well installed.
> >    You can always create this link manually.
> >
> > 2. See if /opt/gnome/lib is passed to the linker as a library path.
> >
> > Michael.
> >
>
> I changed /opt/gnome/lib/libgdk-1.2.so.0 to /opt/gnome/lib/libgdk-1.2.so
> I ran ldconfig. /opt/gnome/lib is passed to the linker.
> I got the same error (/usr/bin/ld: cannot find -lgdk).
>
> What else now?

My apologies, I made a big mistake. It should be:

 /opt/gnome/lib/libgdk.so  -> /opt/gnome/lib/libgdk-1.2.so.0

Sorry about that :/

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to