Codelite 12.0 from official repository installs two versions of liblldb

CodeLite installation/troubleshooting forum
neildarlow
CodeLite Enthusiast
Posts: 16
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom
Contact:

Codelite 12.0 from official repository installs two versions of liblldb

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post 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
neildarlow
CodeLite Enthusiast
Posts: 16
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom
Contact:

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

Post 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
neildarlow
CodeLite Enthusiast
Posts: 16
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom
Contact:

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

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post 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.
neildarlow
CodeLite Enthusiast
Posts: 16
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom
Contact:

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

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post by DavidGH »

Actually, it does
Oops, I was ldding the wrong dir. Sorry.
Post Reply