GithubHelp home page GithubHelp logo

Build fails with latest vips library about bimg HOT 8 OPEN

joeyave avatar joeyave commented on June 8, 2024 2
Build fails with latest vips library

from bimg.

Comments (8)

seopei avatar seopei commented on June 8, 2024 3

@shu-pf thanks! Downgrading did not do the trick for me. It was a caching problem. I had to run go clean -cache and then it worked

from bimg.

siddharthg avatar siddharthg commented on June 8, 2024 2

@seopei was facing the same issue! go clean -cache helped.

from bimg.

joeyave avatar joeyave commented on June 8, 2024 1

@joeyave just experienced the same. do you have a fix?

Nope. Only downgrading vips.

from bimg.

bartzz avatar bartzz commented on June 8, 2024 1
/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: ignoring file /opt/homebrew/Cellar/glib/2.78.1/lib/libgobject-2.0.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /opt/homebrew/Cellar/glib/2.78.1/lib/libgio-2.0.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /opt/homebrew/opt/gettext/lib/libintl.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /opt/homebrew/Cellar/glib/2.78.1/lib/libglib-2.0.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /opt/homebrew/Cellar/vips/8.14.5_1/lib/libvips.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
  "_g_free", referenced from:

I'm getting those errors on 8.14.5 go v.1.21.1

from bimg.

zenyui avatar zenyui commented on June 8, 2024

@joeyave just experienced the same. do you have a fix?

from bimg.

zenyui avatar zenyui commented on June 8, 2024

@joeyave were you able to downgrade with homebrew or did you build from source?

from bimg.

seopei avatar seopei commented on June 8, 2024

@joeyave how exactly did you manage to downgrade and to which version?

from bimg.

shu-pf avatar shu-pf commented on June 8, 2024

I solved it this way.

  1. uninstall vips

     $ brew uninstall vips
    
  2. Download past installation scripts.
    Create the file vips.rb by duplicating the following.
    ver. 8.14.4

  3. Installation

    $ brew install -s vips.rb
    

from bimg.

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.