Page 1 of 1

Unable to start Cannot find shared library.

Posted: Fri May 27, 2022 4:26 am
by jmgibson1981
I compiled both oss and the bin (edited makefile manually) to go to /opt/makemkv.

Code: Select all

./configure --prefix /opt/makemkv
&

Code: Select all

PREFIX=/opt/makemkv
respectively...

I've never had trouble doing this in the past but today when I try to run makemkv i get this terminal output.

Code: Select all

/opt/makemkv/bin/makemkvcon: error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory
I know the file is there.

Code: Select all

$ find /opt/ -name '*libmake*'
/opt/makemkv/lib/libmakemkv.so.1
I'm lost. I like to put compiled stuff into a given folder so I don't need to worry about make uninstall or anything. i can just dump the whole directory and move on with my life.

My system.

Code: Select all

$ sudo inxi -Fz
System:
  Kernel: 5.16.0-0.bpo.4-amd64 x86_64 bits: 64 Console: tty 0 
  Distro: Debian GNU/Linux 11 (bullseye) 
Machine:
  Type: Desktop System: NCSTECH product: CT1-A402 v: N/A serial: <filter> 
  Mobo: ASUSTeK model: P8H61-M LE/CSM v: Rev x.0x serial: <filter> 
  BIOS: American Megatrends v: 4501 date: 05/10/2013 
CPU:
  Info: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP 
  L2 cache: 8 MiB 
  Speed: 1596 MHz min/max: 1600/3900 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1596 4: 1596 5: 1596 6: 1596 7: 1612 8: 1637
# edit #

My PATH as well for reference.

Code: Select all

$ echo $PATH
/home/jason/bin:/opt/makemkv/bin:/opt/kodimatrix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin

Re: Unable to start Cannot find shared library.

Posted: Wed Jun 29, 2022 3:33 pm
by bib1963
Late... but...

Run the following 2 commands as root, then retry...
echo "/opt/makemkv/lib" > /etc/ld.so.conf.d/makemkv.conf
ldconfig