[Slackbuilds-users] Trouble building graphviz 7.0.6

Erich Ritz erich.public at protonmail.com
Fri Jan 20 14:27:15 UTC 2023







------- Original Message -------
On Thursday, January 19th, 2023 at 9:05 PM, Duncan Roe <duncan_roe at optusnet.com.au> wrote:


> 
> 
> 
> Hi again,
> 
> On Thu, Jan 19, 2023 at 10:10:00AM +1100, Duncan Roe wrote:
> 
> > Hi Guys,
> > 
> > Sorry for late reply, have been a bit time-poor recently.
> > 
> > On Mon, Jan 16, 2023 at 05:41:29AM -0600, Konrad J Hambrick wrote:
> > 
> > > Duncan Roe --
> > > 
> > > graphviz built fine here too.
> > > 
> > > I attached the final graphviz configure output from my build logs to this
> > > email.
> 
> [...]
> 
> > > On Mon, Jan 16, 2023 at 5:35 AM marav marav8 at free.fr wrote:
> 
> [...}
> 
> > > > Le 16/01/2023 à 12:05, Arnaud via SlackBuilds-users a écrit :
> > > > 
> > > > > > Hi,
> 
> [...]
> 
> > Thanks indeed for that! I found graphviz built fine on a slk15 VM here also.
> > 
> > The difference is, on tha bare metal system where build fails, I have the 14.2
> > build of mono.
> > 
> > Will rebuild mono and deps then try again and report to list.
> > 
> > Cheers ... Duncan.
> 
> 
> graphviz still built fine on the VM after I installed mono.
> 
> I guess I need to upgrade all 14.2 SBs on the main system before I post again.

Yes that would be very very important.

> 
> Except, I did notice graphviz ships a number of .la files. But then, so does
> imagemagick from the Slackware distro - maybe it's a graphics thing.

The .la files are not in /{,usr/}lib${LIBDIRSUFFIX}/ so they are fine.

Excerpts from the Changelog entry discussing this:

... The second was to get rid of all the .la files
in the LD_LIBRARY_PATH. Really, having .la files installed has been mostly
obsolete since things began to use pkg-config instead, but it's not easy
to get rid of them unless you do it all at once. If you just take them out
of one package, any other packages containing .la files that refer to the
removed ones will be broken. We've removed a few here and there before
(and then handled any packages that had referred to them with a rebuild),
but it was time to finally remove all the ones in /lib{,64} and
/usr/lib{,64}. ... The .la files that are outside of
the LD_LIBRARY_PATH were not removed (and shouldn't be) - those ones are
often used by the lt_dlopen() function to load plugins and removing those
ones can break things. But those ones don't cause problems... they aren't
likely to try to infect .la files produced by other packages.
IMPORTANT NOTE: If you have any third party or other packages installed on
your system that don't come with Slackware, and those packages have installed
any .la files, it is very likely that they refer to some .la files which we
have just removed, and that trying to compile against these packages will no
longer work. Luckily, the solution is simple: remove them. This command will
remove any stale .la files from the LD_LIBRARY_PATH:
rm /{,usr/}lib{,64}/*.la
Moving forward, nothing shipped in Slackware will contain any .la files in
those directories, and any SlackBuilds intended to be used with Slackware 15.0
should contain this bit of script:
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la

Erich

> 
> Cheers ... Duncan.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/


More information about the SlackBuilds-users mailing list