Astrolog 5.4 on a Mac
I am big fan of Apple computers. Astrolog 5.4 is a great freeware astrology program that I introduced at How to Start With Astrology article. However, it is not possible to download a version for Intel based Mac. So what are the options for running one of the best free astrology software on a Mac?
Option 1 - AstrologX
I found that there is a Cocoa wrapper (a Mac version) of Astrolog 5.4 which is called AstrologX. Visit its homepage and download the application if you would like to give it a try. I find it very useful, although the functionality is a bit limited, compared to the Windows version.

AstrologX - wrapper of Astrolog 5.4 for Mac
Option 2 - Compile Astrolog 5.4 yourself
This is another option although not so comfortable to do.
Step 1 - Download Astrolog 5.4 source code
- Create a folder which will be used to extract and compile the source code. For example, you can create a folder called “Astrolog Source” on your desktop.
- Go to Astrolog 5.4 homepage and control click (right click) the Astrolog 5.4 for Unix link.
- Choose “Save Linked File As…” and save the file to the folder you created in step 1. Name the file ast54.shr and click Save. If asked whether you want to append an extension .txt because the file is a text file, click “Don’t append”.
Step 2 - extract the source code
- Run Terminal (should be in your applications)
- Enter the directory where you downloaded the file. For example, if you downloaded the file to the “Astrolog Source” folder on your desktop, type
- Extract the source code by typing
cd ~/Desktop/Astrolog\ Source/
sh ast54.shr
Step 3 - compile the source code
- Download an updated makefile. This is needed so that the compilation process finds all libraries that it needs.
- Overwrite the original makefile with the new one.
- Run the make command to start compilation:
- A new “astrolog” file should be created now. If you execute the file, the program will ask you for all information that it needs to create a chart and will show the chart in graphics after complete.
make
If you liked the article, please consider digging it or stumble the article. It will help to spread the message communicated by the article. Thanks!

Many thanks! I was about to resign myself to compiling the code. Now I don’t have to. =)
I have slightly modified the updated makefile for compiling the program under OSX 10.4, see below.
NAME = astrolog
OBJ = astrolog.o data.o data2.o general.o io.o\
calc.o matrix.o placalc.o placalc2.o\
charts0.o charts1.o charts2.o charts3.o intrpret.o\
xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
# If you don’t have X windows, delete the “-lX11″ part from the line below:
#LIBS =-lm -L/usr/X11R6/lib -lX11 -isysroot /Developer/SDKs/MacOSX10.5.sdk
LIBS =-lm -L/usr/X11R6/lib -lX11 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
#CFLAGS = -DNeXT -arch ppc -arch i386 -O
CFLAGS = -DNeXT -arch i386 -O
astrolog:: $(OBJ)
# cc -o $(NAME) $(OBJ) $(LIBS) -arch ppc -arch i386
cc -o $(NAME) $(OBJ) $(LIBS) -arch i386
strip $(NAME)
clean:
rm -f *.o astrolog
Cheers,
The free Mac download WineBottler makes it work like a charm!!! You need an intel Mac.
http://winebottler.kronenberg.org/
Finally!!! Kairon is so limited.
With very limited knowledge of computers, following step 1 and 2 is just perfect.
But could you give a more detailed guide for step 3. What is the makefile….. where do you download it to… how do you overwrite it? I love this program and can’t seem to find an equivalent for mac.
@victoria
in the directory of astrolog source (~/Desktop/Astrolog\ Source/) replace the file Makefile with the supplied/linked above (save the text of the “updated makefile” to a file named “Makefile”)
As well, I modified the Makefile for Lion:
replace the equivalent lines with this, leave the others unchanged:
LIBS =-lm -L/usr/X11R6/lib -lX11 -isysroot /Developer/SDKs/MacOSX10.7.sdk /* for S.Leopard change to MacOSX10.6.sdk */
CFLAGS = -DNeXT -arch i386 -O
astrolog:: $(OBJ)
cc -o $(NAME) $(OBJ) $(LIBS) -arch i386
Then, in the command line of Terminal, go to the directory of astrolog source, if you already aren’t in, type “make”; after a few moments the binary file astrolog is ‘elaborated’. if you make a mistake, type “make clean”, change things that are wrong and type “make” another time
While you are in the directory that contains the executable file “astrolog”, type “./astrolog” and that’s is, you have astrolog up and running
Put astrolog.dat (brew-it to your requirements) in the same directory that astrolog, and that’s pretty all, a bit simple, but functional.
Sorry if my english is not good.
@jaumeb
hi Jaumeb
I have get the updated makefile and patch with these 4 line:
#start
LIBS =-lm -L/usr/X11R6/lib -lX11 -isysroot /Developer/SDKs/MacOSX10.7.sdk /* for S.Leopard change to MacOSX10.6.sdk */
CFLAGS = -DNeXT -arch i386 -O
astrolog:: $(OBJ)
cc -o $(NAME) $(OBJ) $(LIBS) -arch i386
#end
However, I got errors with
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make: *** [astrolog] Error 1
Do u have any idea about it?
All I get is error:
make: *** No rule to make target `astrolog.o’, needed by `astrolog’. Stop.
This is 10.7.2