worlickwerx / sbig-util

Linux utility for Santa Barbara Instrument Group cameras for astronomy
GNU General Public License v3.0
5 stars 2 forks source link

libsbig: change default dlopen path #40

Closed garlick closed 6 years ago

garlick commented 6 years ago

Problem: dlopen failure when sbig-util is built on Ubuntu 16.04.3 LTS x86_64 or 17.x i386 with INDI Ubuntu PPA version of libsbigudrv.so.2.1.1.

It seems that ldconfig links are screwed up for some reason:

$lib/libsbigudrv.so.2.1.1 $lib/libsbigudrv.so -> libsbigudrv.so.2 (missing target).

Rerunning ldconfig did nothing.

To avoid having to use sbig -S libsbigudrv.so.2.1.1 on every sbig-util command, change the default to that. It should also work on raspberry pi using the debs provided by INDI.