Recent

Author Topic: Error when try to build Lazarus on mac os  (Read 949 times)

unleed

  • Newbie
  • Posts: 1
Error when try to build Lazarus on mac os
« on: April 25, 2023, 07:32:16 pm »
Hello, i need help with Lazarus build.

I tried to install a package, but when i rebuild Lazarus i got the follwing error:

Build IDE: Exit code 2, Errors: 5
Error: linker: Undefined symbols for architecture x86_64:
Error: linker:   "_glAttachShader", referenced from:
Error: ld: symbol(s) not found for architecture x86_64
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
Error: make: *** [idepkg] Error 2
An error occurred while linking
Error: Error while linking


Someone knows how to fix that?

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Error when try to build Lazarus on mac os
« Reply #1 on: April 25, 2023, 10:52:13 pm »
Hello, i need help with Lazarus build.

I tried to install a package, but when i rebuild Lazarus i got the follwing error:

Build IDE: Exit code 2, Errors: 5
Error: linker: Undefined symbols for architecture x86_64:
Error: linker:   "_glAttachShader", referenced from:
Error: ld: symbol(s) not found for architecture x86_64
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
Error: make: *** [idepkg] Error 2
An error occurred while linking
Error: Error while linking


Someone knows how to fix that?

Seems that you've installed some OpenGL stuff that's not available on macOS 64 bit.

 

TinyPortal © 2005-2018