This homemade Green Bean Casserole is literally the easiest casserole you’ll ever make. Let me know if it doesn't.Although meat, rolls, and pie sound pretty heavenly, it’s always nice to mix in some veggies (even when they’re covered in cream of chicken and mushroom soup!!) □ How to Make Green Bean Casserole Recipe Sudo env LDFLAGS=-L`pg_config -libdir` CPPFLAGS=`pg_config -cppflags` gem install pg Then you'd run: setenv PATH /opt/local/lib/postgresql91/bin:$ LIBS = -lpgport -lxslt -lxml2 -lssl -lcrypto -lz -lreadline -lmįrom there, pull out the LIBDIR, INCLUDEDIR, CPPFLAGS, LIBS and LDFLAGS (the one that I think will get you running is LIBDIR, however). LDFLAGS = -L/opt/local/lib -arch x86_64 -L/opt/local/lib -L/opt/local/lib -Wl,-dead_strip_dylibs PGXS = /opt/local/lib/postgresql91/pgxs/src/makefiles/pgxs.mkĬONFIGURE = '-prefix=/opt/local' '-sysconfdir=/opt/local/etc/postgresql91' '-bindir=/opt/local/lib/postgresql91/bin' '-libdir=/opt/local/lib/postgresql91' '-includedir=/opt/local/include/postgresql91' '-datadir=/opt/local/share/postgresql91' '-mandir=/opt/local/share/man' '-with-includes=/opt/local/include' '-with-libraries=/opt/local/lib' '-with-openssl' '-with-bonjour' '-with-readline' '-with-zlib' '-with-libxml' '-with-libxslt' '-enable-thread-safety' '-enable-integer-datetimes' '-with-ossp-uuid' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-pipe -O2 -arch x86_64' 'LDFLAGS=-L/opt/local/lib -arch x86_64' 'CPPFLAGS=-I/opt/local/include -I/opt/local/include/ossp'ĬPPFLAGS = -I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/libxml2 -I/opt/local/includeĬFLAGS = -pipe -O2 -arch x86_64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv INCLUDEDIR-SERVER = /opt/local/include/postgresql91/server PKGINCLUDEDIR = /opt/local/include/postgresql91 INCLUDEDIR = /opt/local/include/postgresql91 HTMLDIR = /opt/local/share/doc/postgresql If you were installing from MacPorts, you should be able to walk through the following procedure: % /opt/local/lib/postgresql91/bin/pg_config => Done installing documentation for pg after 1 secondsįake out gem by prefixing the appropriate environment variables. => Installing ri documentation for pg-1.2.3 It allowed the pg gem to be able to find binaries in the right architecture: export PATH=/usr/local/Cellar/postgresql/13.2_1/bin:$PATH To solve this, in my case, I just had to add to the PATH another version of postgres compiled in x86_64. => Non-fat file: /opt/homebrew/bin/pg_config is architecture: arm64 => /Users/leo/.rbenv/versions/2.6.6/bin/ruby is architecture: x86_64 Lipo -info /Users/leo/.rbenv/versions/2.6.6/bin/ruby # You might need to use a different command if you use a ruby version manager You can check the architecture with the lipo -info command: which ruby I have installed ruby in "rosetta 2" mode ( x86_64) and postgres in "native" mode ( arm64).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |