Giter VIP home page Giter VIP logo

Comments (6)

jcupitt avatar jcupitt commented on July 19, 2024 1

I think I might have found it: the libgobject-2.0.so symlink is installed by the -dev package for glib.

I've changed pyvips to include a version number in the soname -- would you be able to test it? Just install git master.

Another fix would be to install the -dev packages:

$ sudo apt install libvips-dev

which sholud also work.

from pyvips.

oak-tree avatar oak-tree commented on July 19, 2024 1
ldd $(which vips) | grep libgob
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fa6a0f6f000)

installing from master branch works!

Thanks for the quickreply/fix

from pyvips.

jcupitt avatar jcupitt commented on July 19, 2024

I think that's probably describing a different issue.

I guess your libgobject is called something else. I see:

$ ldd $(which vips) | grep libgob
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f0797480000)
$ ls -l /usr/lib/x86_64-linux-gnu/libgob*
-rw-r--r-- 1 root root 681890 Oct  4 14:49 /usr/lib/x86_64-linux-gnu/libgobject-2.0.a
lrwxrwxrwx 1 root root     26 Oct  4 14:49 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so -> libgobject-2.0.so.0.5400.1
lrwxrwxrwx 1 root root     26 Oct  4 14:49 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.5400.1
-rw-r--r-- 1 root root 342072 Oct  4 14:49 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5400.1

On 17.10. What do you get?

from pyvips.

jcupitt avatar jcupitt commented on July 19, 2024

I'll push out a new pyvips.

from pyvips.

dejavu1987 avatar dejavu1987 commented on July 19, 2024

Which version was this fixed on?

I am currently trying to use pyvips==2.2.1
and when deployed to serverless functions

I am still getting:

[ERROR] OSError: cannot load library 'libgobject-2.0.so

Does it mean this needs to be fixed on the OS itself?

from pyvips.

jcupitt avatar jcupitt commented on July 19, 2024

It's been fixed in 2.2.1, you probably have some other issue. Can you make a dockerfile that reproduces your problem?

from pyvips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.