try to install gdal by using command:- brew install gdal
but getting error
==> ../configure --prefix=/usr/local/homebrew/opt/gcc --libdir=/usr/local/homebrew/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran --program-suffi
==> make
Last 15 lines from /Users/madhubalabirla/Library/Logs/Homebrew/gcc/02.make:
7 0x7ff81b476317 _dispatch_client_callout + 8
8 0x7ff81b485c0c _dispatch_root_queue_drain + 673
9 0x7ff81b48625c _dispatch_worker_thread2 + 160
10 0x7ff81b629f8a _pthread_wqthread + 256
A linker snapshot was created at:
/tmp/libstdc++.6.dylib-2022-11-19-175407.ld-snapshot
ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more atoms allocated than expected"), function parse, file macho_relocatable_file.cpp, line 2061.
collect2: error: ld returned 1 exit status
make[6]: *** [libstdc++.la] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
gcc#10: fix for macOS 13 SDK https://github.com/Homebrew/homebrew-core/pull/114617
On Linux: running `fish` and `gcc` get `exec: Bad address` after `brew upgrade` https://github.com/Homebrew/homebrew-core/issues/115895
GCC 12.2.0 breaks TLS (thread_local) at least on x86_64 https://github.com/Homebrew/homebrew-core/issues/110673
i tried brew install gdal and pip install gdal
already have gdal but getting that same error and uninstall gdal and again try to install but didn't worked
Related
Trying to get syslinux 6.02 or 6.04-pre3 compiled on Debian 11 and getting the following error on both:
make[4]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02/bios/com32/elflink/ldlinux'
make[3]: *** [/home/dev/projects/syslinux/syslinux-6.02/com32/Makefile:8: elflink/ldlinux] Error 2
make[3]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02/bios/com32'
make[2]: *** [/home/dev/projects/syslinux/syslinux-6.02/Makefile:282: com32] Error 2
make[2]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02/bios'
make[1]: *** [/home/dev/projects/syslinux/syslinux-6.02/Makefile:254: bios] Error 2
make[1]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02'
make: *** [Makefile:101: all] Error 2
Also tried to compile both versions on Debian 10 with the same results. Per the readme, uuid-dev and nasm are both installed. Looks like dependency issue, but no idea what's missing. Any suggestions would be appreciated.
When trying to install Qt on OSX (10.11) via homebrew with the --universal option
brew install qt --universal
I get the following error:
clang: error: invalid Xarch argument: '-Xarch_i386 -framework', options requiring arguments are unsupported
clang: error: invalid Xarch argument: '-Xarch_i386 -framework', options requiring arguments are unsupported
make[4]: *** [../../../../plugins/phonon_backend/libphonon_qt7.dylib] Error 1
make[3]: *** [release] Error 2
make[2]: *** [sub-qt7-make_default] Error 2
make[1]: *** [sub-phonon-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2
Any idea on how to fix that?
I am trying to build GCC on a core2-apple-darwin12.3.0 i386 machine. The configure seems to go through without problems but when I invoke 'make' it returns an error.
In file included from ./kinds.h:75:0,
from /gcc-4.8.0/libgfortran/libgfortran.h:232,
from /gcc-4.8.0/libgfortran/fmain.c:4:
/gcc-4.8.0/libgfortran/kinds-override.h:40:5: error: #error "Where has __float128 gone?"
# error "Where has __float128 gone?"
^
make[3]: *** [fmain.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgfortran] Error 2
make: *** [all] Error 2
So far I have been unable to track down a successful fix.
I'm new to Mac and trying to build pkg-config-0.28 on OS X 10.8. I was able to configure successfully using:
./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E" --with-internal-glib
I tried the "--with-internal-glib" after getting an error saying glib not found.
But now I'm getting the following error when I entered:
$ make -j8
Error message:
> CC gvarianttype.lo
CC gversion.lo
CC gwakeup.lo
CC gprintf.lo
CC glib-unix.lo
CC gthread-posix.lo
CC giounix.lo
gutils.c: In function 'find_folder':
gutils.c:1423: warning: 'FSFindFolder' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h:290)
CC gspawn.lo
echo > glib-public-headers.txt.tmp && mv glib-public-headers.txt.tmp glib-public-headers.txt
lipo: can't figure out the architecture type of: /var/folders/wn/zc31626x5mz7w57dq6cf8f7w0000gn/T//cczwFoWN.out
make[6]: *** [gvariant.lo] Error
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Before that, I installed pkg-config-0.26 from a .pkg file but the problem is, it shows install successful but when I enter "pkg-config" in the terminal it says command not found. For this reason I thought of building from the latest release.
I really need this for building/compiling an opencv project. Now how I can get pkg-config to work? Please help.
/usr/bin/ld: ../../libs/libedit/src/.libs/libedit.a(term.o): undefined reference
/usr/bin/ld: note: 'tgetnum' is defined in DSO /lib64/libtinfo.so.5 so try addin
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [fs_cli] Error 1
make[4]: *** [/usr/src/freeswitch/libs/esl/libesl.so] Error 2
make[3]: *** [mod_hash-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Ive tried to export 'ltinfo' library and ive also set LDFLAGS to -ltinfo but that too dint work.Please help me in fixing this.
I've got same error like you. You must install stable version.
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and follow the instruction again.
http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide
It will work.