Skip to Content.
Sympa Menu

freetds - Re: [freetds] OSX PHP freetds MAMP install question...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Robert B Carter <rcarter0 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] OSX PHP freetds MAMP install question...
  • Date: Tue, 18 May 2010 16:09:10 -0500

Hi Cole--

when you first installed freetds, did you have any problems compiling?

Last June I joined this list to post a question after spending the better part of a day trying to figure out why freetds wouldn't install on my Mac, but I got no responses. I gave up on freetds after that, but circumstances have dragged me back here... what I've been trying to do is essentially the same thing as what you were able to do, to get freetds and the mssql extension working on MAMP, and it seems like you've managed to succeed at this. Advice would be appreciated.

The specific error, as reported in the config.log file, is:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/gcc/i686-apple- darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
collect2: ld returned 1 exit status

Thanks--

Robert Carter




On May 11, 2010, at 11:02 AM, Cole McDonald wrote:

That's a wonderfully simple solution :) Just difficult to arrive
there. I'll give it a poke... The port80 instance directs to the ~/
Sites folder while the port8888 instance seems to direct into the MAMP
directory... so I'll just have to make a subdirectory that links to
the correct location (messy) to get the work done... thanks so much
for your help.

---------------------------------------------------------
Cole McDonald (320)310-7791
Producer/Director
Y.A.F.I.:Underground Productions
---------------------------------------------------------
http://www.yafiunderground.com
---------------------------------------------------------






On May 11, 2010, at 10:44 AM, Daniel Fazekas wrote:

On May 11, 2010, at 17:33, Cole McDonald wrote:

so at this point, it looks like the MAMP installation is working
and setup correctly but isn't being used by apache when it's
loading.

I think what your problem really is that you are trying to use
Apple's copy of Apache, instead of MAMP's copy.
Where MAMP's copy of Apache is listening on port 8888, while Apple's
bundled copy is running on the default port 80. You have two web
servers running simultaneously and you just need to pick the right
one.

You could simply add the port specification to the URL of the site
you are developing.

If you are trying to access
http://localhost/something

load it as

http://localhost:8888/something

Is the solution as simple as creating a symlink from the one
mssql.so file to the modules directory in the system's php?

That might actually work in your case, because Apple provides PHP
5.2.12 for Leopard users, which is only slightly newer than your
MAMP-installed copy of PHP 5.2.11.

So they both should be using the same "no-debug-non-zts-20060613"
interface.

PHP 5.3.x, bundled with Snow Leopard, would require a rebuild for
"no-debug-non-zts-20090626" modules.

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page