CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Linux
Discussion about CrossOver Linux

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Missing libgphoto2 32-bit library

I am ubuntu-mate 16.04 64bit and I tried installing Steam but I get this error as reported in the log file:

Missing 32bit libgphoto2_port.so.10 library

I already tried:

apt-get install libgphoto2-6

and

apt-get install libgphoto2-6:i386

but I'm still getting the same error.

Can anybody help?

Did you try:

sudo dpkg --add-architecture i386; sudo apt-get update

For further help, there's an Ubuntu FAQ: https://www.codeweavers.com/support/wiki/linux/faq/Ubuntu

And for most software, you will need the 32bit libraries, so go for the somelibrary:i386 ones...

J-P Simard wrote:

Did you try:

sudo dpkg --add-architecture i386; sudo apt-get update

For further help, there's an Ubuntu FAQ:
https://www.codeweavers.com/support/wiki/linux/faq/Ubuntu

And for most software, you will need the 32bit libraries, so go for
the somelibrary:i386 ones...

That did not help :(

I wonder why it still is showing the same error...

You're lucky, I usually only run Arch, but I had a laptop running ubuntu-mate 17.10 for testing purposes.

So I did some digging, and the 64bit library name is libgphoto2-6 (for some reason), and the 32bit library is libgphoto2-6:i386. It's that extra "-6" in the name that was tripping things up on my install. I suspect the naming is just as clunky for 16.04, as evident with this page: https://launchpad.net/ubuntu/xenial/+source/libgphoto2

That being said, you should try:

sudo apt-get install libgphoto2-6:i386

If that doesn't work, let me know.

By the way, I really find it cute how every Ubuntu tutorial begin their command with sudo. If you need root for a couple of commands, you can do:

sudo -s

That will give you a root shell you can do administration with. You just need to close the terminal when you're finished, or type "exit" to return to a normal shell. It's just a helpful tip I don't really see anyone talking about. Typing sudo all the time is just a chore you don't really need to do. That has nothing to do with your problem, but I thought it might serve you well in the future.

Okay, so i uninstalled the libgphoto2-6 package, and uninstalled the steam bottle and started again.

I installed the libgphoto2-6:i386 package and created a new steam bottle/install.

Here is the log file:

Running command: "C:\\users\\Public\\Start Menu\\Programs\\Steam\\Steam.lnk"
Bottle: Steam
Debug channels: 

CrossOver Linux 16.2.0
Install location: /opt/cxoffice
64-bit OS
Desktop session: mate
Window manager: Metacity (Marco)
Locale: en_PH.UTF-8

Contents of /etc/os-release:
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

cxdiag output:
[MissingLibGphoto2Port]
"Level"="Suggest"
"Title"="Missing 32bit libgphoto2_port.so.10 library"
"Description"="Lets Windows applications access digital cameras."

[MissingLibSane]
"Level"="Recommend"
"Title"="Missing 32bit libsane.so.1 library"
"Description"="Lets Windows applications access scanners."

[Properties]
"display.depth"="24"

[Properties]
"opengl.vendor"="NVIDIA Corporation"

[Properties]
"opengl.version"="4.5.0 NVIDIA 375.66"

[Properties]
"opengl.renderer"="GeForce GTX 1050 Ti/PCIe/SSE2"

[Properties]
"opengl.glsl_version"="4.50 NVIDIA"

** Sun Aug  6 11:06:59 2017
Starting '/opt/cxoffice/bin/wineloader' 'winewrapper.exe' '--new-console' '--workdir' 'C:\users\Public\Start Menu\Programs\Steam' '--start' '--'
'C:\users\Public\Start Menu\Programs\Steam\Steam.lnk'

***** Sun Aug  6 11:06:59 2017
Starting: '/opt/cxoffice/bin/cxstart' '--bottle' 'Steam' '--new-console' '--workdir' 'C:\users\Public\Start Menu\Programs\Steam' '--' 'C:\users\Public\Start Menu\Programs\Steam\Steam.lnk'

CXConfig->read(/opt/cxoffice/etc/cxoffice.conf)
CXConfig->read(/home/control/.cxoffice/cxoffice.conf)
Product version=16.2.0.30219
30938: Grabbing the '/tmp/.wine-1000/bottle-803-1541971.lock' lock
30938: Got the '/tmp/.wine-1000/bottle-803-1541971.lock' lock
CXConfig->read(/home/control/.cxoffice/Steam/cxbottle.conf)
Mode = 'private'
Bottle environment variables:
 CX_BOTTLE_CREATOR_APPID -> com.codeweavers.c4.206
Environment:
  CX_ROOT = "/opt/cxoffice"
  CX_BOTTLE = "Steam"
  WINEPREFIX = "/home/control/.cxoffice/Steam"
  CX_WINDOWS_VERSION = <undefined>
  PATH = "/opt/cxoffice/bin:/home/control/bin:/home/control/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
  LD_LIBRARY_PATH = "/opt/cxoffice/lib"
  WINEDLLPATH = "/opt/cxoffice/lib/wine"
  WINEDLLOVERRIDES = <undefined>
  LD_PRELOAD = <undefined>
  LD_ASSUME_KERNEL = <undefined>
  WINELOADER = "/opt/cxoffice/bin/wineloader"
  WINESERVER = "/opt/cxoffice/bin/wineserver"
  WINEDEBUG = <undefined>
  CX_LOG = "-"
  CX_DEBUGMSG = <undefined>
  CX_WINE_USAGE_LOGFILE = "/home/control/.cxoffice/usage.log"
  DISPLAY = ":0"
30938: Releasing the '/tmp/.wine-1000/bottle-803-1541971.lock' lock
Command:
/opt/cxoffice/bin/wineloader winewrapper.exe --new-console --workdir C:\users\Public\Start Menu\Programs\Steam --start -- C:\users\Public\Start Menu\Programs\Steam\Steam.lnk
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
fixme:ver:GetCurrentPackageId (0x33e490 (nil)): stub
fixme:process:ProcessIdToSessionId Unsupported for other processes.
fixme:ntdll:EtwEventRegister ({47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006760, 0x3f041d28, 0x3f041d20) stub.
fixme:ntdll:EtwEventRegister ({58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006760, 0x3f041d60, 0x3f041d58) stub.
fixme:ntdll:EtwEventRegister ({3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006760, 0x3f041cf0, 0x3f041ce8) stub.
fixme:ntdll:EtwEventRegister ({1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006760, 0x3f041d98, 0x3f041d90) stub.
fixme:ntdll:EtwEventRegister ({4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006760, 0x3f041dd0, 0x3f041dc8) stub.
fixme:dbghelp:elf_search_auxv can't find symbol in module
fixme:ver:GetCurrentPackageId (0x33f014 (nil)): stub
fixme:ntdll:EtwEventUnregister (deadbeef) stub.
fixme:ntdll:EtwEventUnregister (deadbeef) stub.
fixme:ntdll:EtwEventUnregister (deadbeef) stub.
fixme:ntdll:EtwEventUnregister (deadbeef) stub.
fixme:ntdll:EtwEventUnregister (deadbeef) stub.

Damn, I missed something, you're installing Steam, and I was focusing on the library. Steam doesn't need libgphoto at all. It doesn't hurt to have it, but it doesn't help. Libgphoto is for accessing digital cameras, it has no purpose I know of regarding Steam. Same goes for LibSane, it might be missing, but it isn't needed.

Have you tried lauching steam? If so, what happens?

J-P Simard wrote:

Damn, I missed something, you're installing Steam, and I was
focusing on the library. Steam doesn't need libgphoto at all. It
doesn't hurt to have it, but it doesn't help. Libgphoto is for
accessing digital cameras, it has no purpose I know of regarding
Steam. Same goes for LibSane, it might be missing, but it isn't
needed.

Have you tried lauching steam? If so, what happens?

Yeah, I don't know why Steam needs those.

When I do launch Steam, the icon appears on my dock for about 12 seconds, disappears, and that's it.

I'va had no problem installing Steam and installing several games, but I have not had time to sit down and see if they actually work. I will install several and report on each.

Hi,

I'm getting the same error for a program that requires Camera support.

I also tried

apt-get install libgphoto2-6

and

apt-get install libgphoto2-6:i386

But I get output

libgphoto2-6:i386 is already the newest version (2.5.9-3).
The following packages were automatically installed and are no longer required:
  libgsm1:i386 libodbc1 libpcap0.8:i386 wine-stable wine-stable-amd64
  wine-stable-i386:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 465 not upgraded.

Have you gotten any further?

A little late, but as I faced the same issue:
you propably have a newer version of this lib.
just type locate bgphoto2_port.so to find your version and link it to the expected name.

sudo ln -s /usr/lib/i386-linux-gnu/libgphoto2_port.so.12 /usr/lib/i386-linux-gnu/libgphoto2_port.so.10

solved it for me.

1 to 10 of 10

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzI3NDcwNjA2LCJjc3JmX3Rva2VuIjoiTmRjNUJmS1pzNVNjcnp1OCIsImdkcHIiOjB9