LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-28-2018, 02:17 PM   #1
srjjio
LQ Newbie
 
Registered: May 2018
Location: Lyon
Distribution: Fedora (previously Ubuntu)
Posts: 6

Rep: Reputation: Disabled
Install a second version of libboost_filesystem


Hello Everyone,

I have got an Epson Workforce WF-2750 scanner device.
To make it works with my Fedora 28, it seems, that I have no choice but install the tool provided by the manufacturer (no packaged driver available).
The Espson soft is available here, but only for Fedora 27: http://support.epson.net/linux/en/im...version=1.3.28
I still tried to install it, but got the following error message.

Code:
cd ~/Downloads
tar zxf imagescan-bundle-fedora-27-1.3.28.x64.rpm.tar.gz
cd imagescan-bundle-fedora-27-1.3.28.x64.rpm
sudo sh ./install.sh

Error: 
 Problem 1: conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
 Problem 2: package imagescan-plugin-networkscan-1.1.1-1epson4fedora27.x86_64 requires imagescan >= 3.9.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
 Problem 3: package imagescan-plugin-gt-s650-1.0.0-1epson4fedora27.x86_64 requires imagescan >= 3.28.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
 Problem 4: package imagescan-plugin-ocr-engine-1.0.0-1epson4fedora27.x86_64 requires imagescan >= 3.14.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
Then I found this topic, explaining that libboost_filesystem.so.1.64.0 was installed on F27, but now F28 has v1.66.0: https://bugzilla.redhat.com/show_bug.cgi?id=1576911

They are right
locate libboost_filesystem
/usr/lib64/libboost_filesystem.so.1.66.0

So I decided to install the previous version v1.64.0 near to the new one. This is the first time I try doing a such thing (and I don't kwnow much about c++ and unix libs management).

I followed build instructions provided by the official site: https://www.boost.org/doc/libs/1_64_...-variants.html

After downloading the sources, I used the following commands.

Code:
tar zxf boost_1_64_0.tar.gz
cd boost_1_64_0
./bootstrap.sh --with-libraries=filesystem
./b2
sudo cp stage/lib/* /usr/local/lib64
ldconfig -n -v /usr/local/lib64

/usr/local/lib64:
	libboost_filesystem.so.1.64.0 -> libboost_filesystem.so.1.64.0
	libboost_system.so.1.64.0 -> libboost_system.so.1.64.0
It seems there some stuff deployed, but the lib is still not found.

Code:
ls -al /usr/local/lib64
total 584
drwxr-xr-x.  2 root root   4096 May 28 20:32 .
drwxr-xr-x. 12 root root   4096 Feb  7 10:41 ..
-rw-r--r--.  1 root root 221068 May 28 20:32 libboost_filesystem.a
-rwxr-xr-x.  1 root root 136736 May 28 20:32 libboost_filesystem.so
-rwxr-xr-x.  1 root root 136736 May 28 20:32 libboost_filesystem.so.1.64.0
-rw-r--r--.  1 root root  47398 May 28 20:32 libboost_system.a
-rwxr-xr-x.  1 root root  19520 May 28 20:32 libboost_system.so
-rwxr-xr-x.  1 root root  19520 May 28 20:32 libboost_system.so.1.64.0

locate libboost_filesystem
/usr/lib64/libboost_filesystem.so.1.66.0
I have also tried with setting this dir in dedicated env var, without success.
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
Does anyone have an idea on what I missed?
 
Old 05-28-2018, 02:41 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
as far as locate you have to update your data base for that.
Code:
sudo updatedb
Did you try installing your software driver after you installed your required boost lib?

if it doesn't work, you could try this,
Code:
$ locate libboost_filesystem.so
/usr/lib/libboost_filesystem.so
/usr/lib/libboost_filesystem.so.1.66.0
if the current one you have is greater than the one it is looking for. create a soft link from that giving it the one it is looking for name and cross your fingers and hope it works too. if not then just delete that soft link.

Code:
sudo ln -s /usr/lib64/libboost_filesystem.so.1.66.0 /usr/lib64/libboost_filesystem.so.1.64.0
its a try...

or post back what happened after you tried installing the driver after you installed the boost lib.

Last edited by BW-userx; 05-28-2018 at 02:47 PM.
 
Old 05-28-2018, 04:18 PM   #3
srjjio
LQ Newbie
 
Registered: May 2018
Location: Lyon
Distribution: Fedora (previously Ubuntu)
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi @BW-userx!

update db works for locate
Code:
sudo updatedb

locate libboost_filesystem
/usr/lib64/libboost_filesystem.so.1.66.0
/usr/local/lib64/libboost_filesystem.a
/usr/local/lib64/libboost_filesystem.so
/usr/local/lib64/libboost_filesystem.so.1.64.0
but still the same error, during install
Code:
sudo sh ./install.sh

Error: 
 Problem 1: conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
 Problem 2: package imagescan-plugin-networkscan-1.1.1-1epson4fedora27.x86_64 requires imagescan >= 3.9.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
 Problem 3: package imagescan-plugin-gt-s650-1.0.0-1epson4fedora27.x86_64 requires imagescan >= 3.28.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
 Problem 4: package imagescan-plugin-ocr-engine-1.0.0-1epson4fedora27.x86_64 requires imagescan >= 3.14.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64
then I tried the symlink
Code:
sudo ln -s /usr/lib64/libboost_filesystem.so.1.66.0 /usr/lib64/libboost_filesystem.so.1.64.0

locate libboost_filesystem
/usr/lib64/libboost_filesystem.so.1.64.0
/usr/lib64/libboost_filesystem.so.1.66.0
/usr/local/lib64/libboost_filesystem.a
/usr/local/lib64/libboost_filesystem.so
/usr/local/lib64/libboost_filesystem.so.1.64.0
again the same error...
thanks though
 
Old 05-28-2018, 05:55 PM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
When dealing with a program that wants and older version of a library file, I've been known to do the following:
  1. Download an rpm file containing thecorrect version of the library
  2. Extract the needed library file (typically libsomething.x.y.z) to /usr/lib64
  3. Create the required symlink in /usr/lib64 (ln -s libsomething.so.x.y.z libsomething.so.x)
It typically works for me, but, of course, YMMV
 
Old 05-29-2018, 03:20 PM   #5
srjjio
LQ Newbie
 
Registered: May 2018
Location: Lyon
Distribution: Fedora (previously Ubuntu)
Posts: 6

Original Poster
Rep: Reputation: Disabled
Finally I managed to install the soft available on flathub.
Code:
flatpak install flathub com.github.utsushi.Utsushi/x86_64/stable
Soft is working fine but not recognizing any device... Maybe it would work with native app?

Also I found missing libs (with correct version) in flatpak app dir.
Code:
ls /var/lib/flatpak/app/com.github.utsushi.Utsushi/x86_64/stable/.../files/lib/
And manually deployed them to the /usr/lib64 and run updatedb then locate, but still cannot install the app...
Also try to install the rpm package with several commands.
Code:
sudo dnf install ./imagescan-3.38.0-1epson4fedora27.x86_64.rpm
Error: 
 Problem: conflicting requests
  - nothing provides libboost_filesystem.so.1.64.0()(64bit) needed by imagescan-3.38.0-1epson4fedora27.x86_64

sudo rpm --install ./imagescan-3.38.0-1epson4fedora27.x86_64.rpm
error: Failed dependencies:
	libboost_filesystem.so.1.64.0()(64bit) is needed by imagescan-3.38.0-1epson4fedora27.x86_64
	libboost_program_options.so.1.64.0()(64bit) is needed by imagescan-3.38.0-1epson4fedora27.x86_64
	libboost_system.so.1.64.0()(64bit) is needed by imagescan-3.38.0-1epson4fedora27.x86_64
	libgdkmm-2.4.so.1()(64bit) is needed by imagescan-3.38.0-1epson4fedora27.x86_64
	libgtkmm-2.4.so.1()(64bit) is needed by imagescan-3.38.0-1epson4fedora27.x86_64
But all the files are here
Code:
ls -al /usr/lib64 | grep -E 'libboost_filesystem|libboost_program_options|libboost_system.so|libgdkmm'
-rwxr-xr-x.   1 root root   101616 May 29 22:03 libboost_filesystem.so.1.64.0
-rwxr-xr-x.   1 root root   101616 May 29 21:52 libboost_filesystem.so.1.66.0
-rwxr-xr-x.   1 root root   512472 May 29 22:03 libboost_program_options.so.1.64.0
-rwxr-xr-x.   1 root root   512472 May 29 21:52 libboost_program_options.so.1.66.0
-rwxr-xr-x.   1 root root    14488 May 29 22:03 libboost_system.so.1.64.0
-rwxr-xr-x.   1 root root    14488 May 29 21:52 libboost_system.so.1.66.0
lrwxrwxrwx.   1 root root       32 May 29 22:18 libgdkmm-2.4.so.1 -> /usr/lib64/libgdkmm-2.4.so.1.1.0
-rwxr-xr-x.   1 root root   307488 May 29 21:49 libgdkmm-2.4.so.1.1.0
lrwxrwxrwx.   1 root root       21 Feb  7 22:09 libgdkmm-3.0.so.1 -> libgdkmm-3.0.so.1.1.0
-rwxr-xr-x.   1 root root   372448 Feb  7 22:09 libgdkmm-3.0.so.1.1.0
 
  


Reply

Tags
epson, libboost, scanner



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Would it be smarter to install the 32bit version or the 64bit version? pcninja Slackware - Installation 27 03-21-2014 06:40 AM
[SOLVED] Install the 32 bit version and the 64 bit version, on multilib system. Knightron Slackware 12 12-02-2013 09:23 PM
Install and use older version of Java while keeping newst version Predatorian Linux - Software 3 06-13-2013 06:49 PM
New install 9.04 (Jaunty) on old computer > no sound - install older version? NewTeacher Ubuntu 3 05-24-2009 12:52 AM
Install or not install newest GCC version on Solaris 10. Zepiroth Solaris / OpenSolaris 6 05-26-2006 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration