Page 1 of 1

Codelite 12.0 from official repository installs two versions of liblldb

Posted: Wed Oct 31, 2018 2:42 pm
by neildarlow
Hi,

I'm using Codelite 12.0 installed from the official repository on Linux Mint 19 Cinnamon edition. I noticed that when installing the codelite and wxcrafter packages (tagged unofficial in synaptic) that both liblldb-3.9 and liblldb-6.0 are installed as dependencies.

Is this intentional or a packaging error?

Regards,
Neil Darlow

Linux Mint 19 "Tara" Cinnamon edition amd64
codelite-12.0-1unofficial.bionic
wxcrafter-2.9-1unofficial.bionic

Re: Codelite 12.0 from official repository installs two versions of liblldb

Posted: Wed Oct 31, 2018 4:58 pm
by DavidGH
Hi,
Is this intentional or a packaging error?
Probably a bit of both. Historically, CodeLite has had problems with lldb: in particular lldb-3.7 made it crash.

The current debian/control file says

Code: Select all

Build-Depends: ... liblldb-3.4-dev | liblldb-3.5-dev | liblldb-3.6-dev | liblldb-3.9-dev
Recommends: ...  lldb (>=3.4)
so liblldb-3.9 isn't surprising. However there's no mention of liblldb-6.0. Maybe it happened to be installed in the 'build' system, and dpkg picked it up by mistake...?

Do you have a runtime conflict?

Regards,

David

Re: Codelite 12.0 from official repository installs two versions of liblldb

Posted: Wed Oct 31, 2018 10:19 pm
by neildarlow
Hi David,

Thank you for your response and your efforts with Codelite.

I don't appear to have a problem. Does Codelite use lldb in library form? If not, any use of the lldb binary will use the version 6.0 one. There are symlinks for all the lldb-related binaries to the version 6.0 ones.

Regards,
Neil Darlow

Re: Codelite 12.0 from official repository installs two versions of liblldb

Posted: Wed Oct 31, 2018 10:32 pm
by neildarlow
Hi,

The recommends on lldb is probably what's done it. I have synaptic set to install recommended packages and lldb depends on the latest available version which will pull-in liblldb at the same version.

Regards,
Neil Darlow

Re: Codelite 12.0 from official repository installs two versions of liblldb

Posted: Thu Nov 01, 2018 1:53 am
by DavidGH
Does Codelite use lldb in library form?
I don't think so, and nor does ldd. AFAIK it's just a build requirement.

Re: Codelite 12.0 from official repository installs two versions of liblldb

Posted: Thu Nov 01, 2018 2:51 pm
by neildarlow
Hi David,

Actually, it does. ;)

Code: Select all

neil@dumbledore:~$ ldd /usr/bin/codelite-lldb |grep lldb
	liblldb-3.9.so.1 => /usr/lib/x86_64-linux-gnu/liblldb-3.9.so.1 (0x00007fb351c37000)
Anyway, it's not a big deal and I'm sure you have bigger fish to fry. I'll watch to see if the library version changes if I rebuild Codelite on my system.

I suppose you could evaluate whether the recommends on lldb actually adds any benefit to Codelite - I can't see that it does.

Regards,
Neil

Re: Codelite 12.0 from official repository installs two versions of liblldb

Posted: Thu Nov 01, 2018 3:19 pm
by DavidGH
Actually, it does
Oops, I was ldding the wrong dir. Sorry.