Re: Baubefehl lokalisieren

"Sascha 'saigkill' Manns" <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization openSUSE Marketing Team
Message-ID <[email protected]>
On Samstag 14 Februar 2009 19:37:33 David Haller wrote:
> Hello,
>
> On Sat, 14 Feb 2009, Sascha 'saigkill' Manns wrote:
> [..]
>
> >Da hast du Recht. Allerdings baue ich auch meine Pakete für Contrib.
> > Und die legen Wert auf soname und versioned Librarys. Leider :-(
> >
> >Ich habe jetzt aus
> >gcc -pipe -shared -Wl,-soname,libtktray1.1.so -o libtktray1.1.so
> >tktray.o -lXext -lX11  -L/usr/lib -ltclstub8.5 -L/usr/lib
> > -ltkstub8.5
> >
> >: libtktray1.1.so
> >
> >folgendes gemacht:
> >gcc -pipe -shared -Wl,-soname,libtktray1.1.so.%{version} -o
> >libtktray1.1.so.%{version} tktray.o -lXext -lX11  -L/usr/lib -
> >ltclstub8.5 -L/usr/lib -ltkstub8.5
> >
> >: libtktray1.1.so.%{version}
>
> Wo? Rufst du das per Hand im .spec auf?
>
> >Reicht das zum setzen der Version, oder muss ich das anders machen?
>
> Ein -soname als Linkeroption reicht. Auf .so.%{version} solltest du
> dann noch passend symlinks setzen. Und die auch mit ins RPM
> einpacken.
Ich hatte es im -spec manuell aufgerufen, da das build ohne soname 
arbeitet. Nun habe ich das im spec gelöscht, und das Paket gelassen wie 
es ist. Wie Philipp meinte, kann man das auch so benutzen. Werde mit den 
Leuten im Contrib mal diskutieren...

-- 
Sincereley yours

Sascha Manns
openSUSE Marketing Team (Weekly News)
openSUSE Build Service
Web: http://saschamanns.gulli.to
Blog: http://lizards.opensuse.org/author/saigkill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.