[Freeswitch-dev] Compiling dependencies inline
jackhammer at gmail.com
Sun Oct 22 00:29:07 EDT 2006
Well the easiest fix for this specific problem is to not adversise those
abilities from the rpm, rpm figures those out automagically using ldd on
every executable in an rpm file list, you can easily turn that off by adding
this to your spec file:
Then you just need to build the appropriate Provides: line in the spec file
for what it does provide, freeswitch.
On 10/21/06, Peter Nixon <listuser at peternixon.net> wrote:
> I am aware that it has been discussed previously. I am aware that some of
> libs have extra patches, and I am happy to build packages for them also
> include the patches. I DO have freeswitch built in rpm form. (See for
> The problem is what the FREESWITCH rpm does to the rest of the system when
> have it available in a repository.
> Take for example the error messages I posted. They state that when someone
> tries to install "grep" on their system (assuming that they dont have it)
> considers freeswitch-snapshot as a possible providor of "pcre". Likewise
> they want to install something that relies on spandsp or sqlite it will
> to install freeswitch to satify the dependency..
> Do you see the problem?
> On Sat 21 Oct 2006 13:26, Matt Klein wrote:
> > Peter,
> > This has been discussed. Issues on current are, some of the..
> > necessary code additions/modifications to the libs may or may not ever
> > available in your external libs.
> > Please advise on how you suggest we proceed.
> > Are you exporting LD_LIBRARY_PATH to /usr/local/freeswitch/lib prior?
> > thx
> > -m
> > On Sat, 21 Oct 2006, Peter Nixon wrote:
> > > Hi Guys
> > >
> > > Here is the result of building a freeswitch package with all of its
> > > dependencies inline. It confuses the hell out of rpm when you go an
> > > to build OTHER packages that rely on those dependencies which are
> > > provided by standard packages:
> > >
> > > Fedora_Extras_5 i586 expansion error
> > > have choice for libpcre.so.0 needed by grep: freeswitch-snapshot pcre
> > > have choice for libsqlite3.so.0 needed by rpm-libs:
> > > sqlite have choice for libsqlite3.so.0 needed by rpm:
> > > sqlite have choice for libsqlite3.so.0 needed by rpm-build:
> > > freeswitch-snapshot sqlite
> > >
> > > Now, I CAN work around this by manually specifying preferences for
> > > of these packages in ALL of my other builds but this is really bad
> > > and requires me to screw around with almost 50 other packages just to
> > > have the pleasure of building freeswitch. ick..
> > >
> > > Please please fix the build so that it will use external libs if they
> > > available. I will happily package any external libs that are required
> > > (infact I already have done so) and can apply patches to any that need
> > > them.
> > >
> > > Cheers
> > > --
> > >
> > > Peter Nixon
> > > http://www.peternixon.net/
> > > PGP Key: http://www.peternixon.net/public.asc
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> Peter Nixon
> PGP Key: http://www.peternixon.net/public.asc
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Freeswitch-dev