Skip to content

Commit dac9ab1

Browse files
committed
update ubuntu error
update ubuntu error
1 parent 5b786b4 commit dac9ab1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,15 @@ time php dcode.php 2.19s user 0.08s system 99% cpu 2.278 total
116116
MIT
117117
```
118118

119-
Error with Ubuntu
119+
#### Error with Ubuntu
120120
```
121121
png_create_write_struct in Unknown on line 0 on ubuntu 14
122+
```
123+
##### FIX:
122124

123-
FIX:
124125

125-
create soft link
126+
- create soft link
127+
```
126128
sudo ln -s /usr/lib/x86_64-linux-gnu/libpng12.so /usr/lib/x86_64-linux-gnu/libpng.so
127-
128-
Add -L to Makefile
129-
130-
INCLUDES = -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -L/usr/lib/x86_64-linux-gnu -lpng
131129
```
130+
- edit Makefile INCLUDES section, append `-L/usr/lib/x86_64-linux-gnu -lpng` to INCLUDES

0 commit comments

Comments
 (0)