3

I set up a new version of ubuntu on a laptop. Post that, in order to set it up identical to my desktop, I did an apt clone and install

# Take a backup of the entire apt repo using apt-clone
    sudo apt-clone clone "$BACKUP_DIR"/apt-clone-"$(date +%Y%m%dT%H.%M.%S)".tar.gz
# Get a dump of Dconf settings
    dconf dump / >"$BACKUP_DIR"/dconf_settings.dconf

# Restore
# Do a restore
    DEBIAN_FRONTEND=noninteractive sudo apt-clone restore "$BACKUP_DIR"/apt-clone*tar.gz

#reload the dconf
    dconf load / <"$BACKUP_DIR"/dconf_settings.dconf


Everything seemingly went well with it. However, when I run curl, I get the below error:

curl: symbol lookup error: curl: undefined symbol: curl_url_set, version CURL_OPENSSL_4

I looked up the issue in SO / ask ubuntu and ran the below:

$ sudo ldd $(which curl) | grep libcurl

    libcurl.so.4 => /usr/lib/dcaenabler/libcurl.so.4 (0x00....)

$ ls -ltr /usr/lib/dcaenabler/libcurl*

-rw-r--r-- 1 root root 518600 Jan 29  2021 /usr/lib/dcaenabler/libcurl.so.4.5.0
lrwxrwxrwx 1 root root     16 Aug 15 21:15 /usr/lib/dcaenabler/libcurl.so.4 -> libcurl.so.4.5.0

I removed the soft link and replaced with the libcurl.so.4 present in /usr/lib/x86_64-linux-gnu

$ sudo ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4 /usr/lib/dcaenabler/                                                                                                                                                             

Curl began to work like normal after this.

HOWEVER

This doesn't seem to survive a reboot. Nor does it survive if I for whatever reason run ldconfig

How do I permanently fix this?

4
  • Do you really know who, why and when created a /usr/lib/dcaenabler/ directory? Where it is defined? What do you have for dpkg -S dcaenabler?
    – N0rbert
    Aug 15, 2021 at 17:38
  • 1
    Do you run this on Dell laptop?
    – N0rbert
    Aug 15, 2021 at 17:47
  • Yes. Dell laptop with ubuntu preinstalled. I guess that's where the /usr/lib/dcaenabler comes from
    – blueren
    Aug 16, 2021 at 13:33
  • I suppose it's this -- dell.com/support/home/en-in/drivers/…
    – blueren
    Aug 16, 2021 at 13:36

1 Answer 1

7

The Dell DCA enabler packages cause this issue. To fix the system we need to remove them by running

sudo apt-get purge --autoremove dca-enabler-packages dca-enabler
1
  • Removing the DCA packages fixed a lot of stuff, including curl, on my D17S tower. Thanks! Feb 1, 2023 at 1:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .