Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] flac123 dependency problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Mon Dec 25, 2023 9:58 am    Post subject: [SOLVED] flac123 dependency problems Reply with quote

If I emerge flac123 it appears to expect libFLAC.so.8:

Code:

flac123 --help
flac123: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory


Whereas media-libs/flac appears to provide version /usr/lib64/libFLAC.so.12
Code:

# emerge -pv media-libs/flac

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.40 s (backtrack: 0/20).

[ebuild   R    ] media-libs/flac-1.4.3:0/10-12::gentoo  USE="cxx ogg -debug -static-libs" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx avx2" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 16 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

# locate libFLAC
/usr/lib64/libFLAC++.so
/usr/lib64/libFLAC++.so.10
/usr/lib64/libFLAC++.so.10.0.1
/usr/lib64/libFLAC.so
/usr/lib64/libFLAC.so.12
/usr/lib64/libFLAC.so.12.1.0
/usr/share/aclocal/libFLAC++.m4
/usr/share/aclocal/libFLAC.m4



Of course I could make a symbolic link, but are the build dependencies wrong for flac123?


Last edited by pgu on Mon Dec 25, 2023 12:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Mon Dec 25, 2023 12:04 pm    Post subject: Reply with quote

I can't reproduce this. What does command -v flac123 return?
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Mon Dec 25, 2023 12:11 pm    Post subject: Reply with quote

Good point. I should have checked that before posting. It was a stale version elsewhere. Starting a new shell with a correct path works:

Code:

$ type flac123
flac123 is /usr/bin/flac123
$ flac123 --help
Usage: flac123 [OPTIONS] FILES...
  -d, --driver=STRING       set libao output driver (pulse, macosx, oss, etc).  Default is pulse
  -w, --wav=FILENAME        send output to wav file (use --wav=- and -q for stdout)
  -R, --remote              set remote mode for programmatic control
  -b, --buffer-time=INT     override default hardware buffer size (in milliseconds)
  -q, --quiet               suppress text output
  -v, --version             version info

Help options:
  -?, --help                Show this help message
      --usage               Display brief usage message
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum